Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:781ʿAbdullāh from my father > al-Walīd > Saʿīd b. ʿAbd al-ʿAzīz > Abū al-Dardāʾ > a man

[Machine] A man heard another man saying to his companion in the mosque, "I bought and delivered firewood at this amount." Abu Darda' said, "Indeed, mosques were not built for this purpose."  

الزهد لأحمد:٧٨١حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي أَبِي حَدَّثَنَا الْوَلِيدُ حَدَّثَنَا سَعِيدُ بْنُ عَبْدِ الْعَزِيزِ أَنَّ أَبَا الدَّرْدَاءِ

سَمِعَ رَجُلًا يَقُولُ لِصَاحِبِهِ فِي الْمَسْجِدِ اشْتَرَيْتُ وَسَقَ حَطَبٍ بِكَذَا فَقَالَ أَبُو الدَّرْدَاءِ إِنَّ الْمَسَاجِدَ لَمْ تُعَمَّرْ لِهَذَا