It is narrated from Sayyiduna Abu Qatadah al-Ansari (may Allah be pleased with him) that he stated: "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 wide (and spacious); you will fill it (with worshippers).'"
I (al-Busiri) say: Imam al-Bayhaqi (may Allah have mercy on him) recorded it in his Sunan through Yahya bin Abi Talib, from Abu Dawud al-Tayalisi (may Allah have mercy on him), and then mentioned it in full.
Then Imam al-Bayhaqi (may Allah have mercy on him) recorded it as marfu' through the route of al-Jarrah bin Minhal, from Muhammad bin Dirham, from Ka'b bin Abdur Rahman al-Ansari (may Allah have mercy on him), from his father, from Sayyiduna Abu Qatadah (may Allah be pleased with him), and then mentioned it.
And Imam al-Bayhaqi (may Allah have mercy on him) said that this is a hadith about whose chain there is disagreement.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 945
Hadith Gradingمحدثین:اختُلف في إسناده (نقله عن البيهقي)