Al-Musayyab and Khaythamah said: Prayer is not to be performed facing the wall of a bathhouse, nor in the middle of a graveyard.