(11) باب النَّهْىِ عَنْ إِنْشَادِ الضَّوَالِّ، فِي الْمَسْجِدِ
It was narrated from Sulaiman bin Burdah that his father said:
"The Messenger of Allah performed prayer, then a man said: 'Who was looking for the red camel?' The Prophet said: 'May you not find it! The mosques were built for that for which they were built.'"
Reference: Sunan Ibn Majah 765
In-book reference: Book 4, Hadith 31
English translation: Vol. 1, Book 4, Hadith 765