Sahih Muslim #1262 · The Book of Marriage

Sahih MuslimSulaiman b. Buraida narrated it on the authority of his father that a man cried out in the mosque saying
Sahih Muslim · Book 16 · The Book of Marriage
Sahih Muslim · كتاب 16 · كتاب النكاح
Who had called out for the red camel? Upon this the Messenger of Allah (ﷺ) said: May it not be restored to you! The mosques are built for what they are meant.
وَحَدَّثَنِي حَجَّاجُ بْنُ الشَّاعِرِ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا الثَّوْرِيُّ، عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ، عَنْ سُلَيْمَانَ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، أَنَّ رَجُلاً، نَشَدَ فِي الْمَسْجِدِ فَقَالَ مَنْ دَعَا إِلَى الْجَمَلِ الأَحْمَرِ ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏
"‏ لاَ وَجَدْتَ ‏.‏ إِنَّمَا بُنِيَتِ الْمَسَاجِدُ لِمَا بُنِيَتْ لَهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 1262In-book reference : Book 5, Hadith 100