There’s a brief moment in Karan Johar’s My Name Is Khan in which Shah Rukh Khan’s character Rizwan Khan sits down next to a highway to pray and offers namaz. A minor character in a scene before that warns him that namaz should always be offered after looking at the place and the people around you.
To which Khan replies, that where a person is praying shouldn’t depend on their surrounding but only their intent.

