Ata said: "There is no harm in performing ablution in the mosque, but a man should not wash his private parts there."