أنبأ أَبُو عَبْدِ اللهِ الْحَافِظُ، ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ، ثنا عَلِيُّ بْنُ الْحَسَنِ، ثنا عَبْدُ اللهِ بْنُ الْوَلِيدِ، ثنا سُفْيَانُ، عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ، عَنْ سُلَيْمَانَ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ أَنَّ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ سَمِعَ رَجُلًا يَقُولُ فِي الْمَسْجِدِ: مَنْ دَعَا إِلَى الْجَمَلِ الْأَحْمَرِ؟، فَقَالَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: " لَا وَجَدْتَ إِنَّمَا بُنِيَتِ الْمَسَاجِدُ لِمَا بُنِيَتْ لَهُ " أَخْرَجَهُ مُسْلِمٌ مِنْ حَدِيثِ عَبْدِ الرَّزَّاقِ، عَنِ الثَّوْرِيِّ.
Sulayman bin Buraydah (may Allah have mercy on him) narrated from his father (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) heard a man making an announcement about a red camel, so he (peace and blessings be upon him) said: "May you not find it! Mosques are only for the purpose for which they were built."