The case is Olga Tellis vs. Bombay Municipal Corporation (1985) (Popularly known as the Pavement Dwellers case).