Sahih Muslim
The Book of Mosques and Places of Prayer — Hadith #1162
Scholarly Consensus: Sahih How we grade
وَحَدَّثَنِي حَجَّاجُ بْنُ الشَّاعِرِ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا الثَّوْرِيُّ، عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ، عَنْ سُلَيْمَانَ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، أَنَّ رَجُلاً، نَشَدَ فِي الْمَسْجِدِ فَقَالَ مَنْ دَعَا إِلَى الْجَمَلِ الأَحْمَرِ . فَقَالَ النَّبِيُّ صلى الله عليه وسلم
" لاَ وَجَدْتَ . إِنَّمَا بُنِيَتِ الْمَسَاجِدُ لِمَا بُنِيَتْ لَهُ " .
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.
Chain of Narration (Isnad)
Hadith Grading
Each grade below reflects one scholar's assessment of the chain of transmission. The grade describes the chain, not the Prophet's words. How we grade
Scholarly Consensus: Sahih