The Book of Prayers (Kitab Al-Salat)
Muslim :: Book 4 : Hadith 1153
Abu Huraira reported: The Messenger of Allah (may peace be upon him) said: If anyone bears a man crying out in the mosque about something lie has lost, he should say: May Allah not restore it to you, for the mosques were not built for this.