Sahih Muslim #1263 · The Book of Marriage

Sahih MuslimSulaiman b. Buraida reported on the authority of his father that when the Messenger of Allah
Sahih Muslim · Book 16 · The Book of Marriage
Sahih Muslim · كتاب 16 · كتاب النكاح
Who called for a 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 1263In-book reference : Book 5, Hadith 101