It is narrated from Sayyiduna Abu Qatadah al-Ansari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) came to us while we were building the mosque, and he (peace and blessings be upon him) said: "Make it (very) wide and spacious, (for soon) you will fill it (with the large number of worshippers)."
Imam Abu Dawud recorded this hadith in his Sunan in the chapter 'The building of mosques and their spaciousness', and its chain contains narrators such as Muhammad bin Dirham al-Azdi and Ka'b bin Abd al-Rahman al-Azdi.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الصلاة / 347
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده ضعيف قال الدارقطني: محمد بن درهم الأزدي - ضعيف، لسان الميزان: (7 / 129) » «أخرجه ابن خزيمة فى «صحيحه» برقم: 1320، والبيهقي فى«سننه الكبير» برقم: 4374، 4375، والطيالسي فى «مسنده» برقم: 639، وأورده ابن حجر فى "المطالب العالية"، 347»