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.
bayhaqi:5243Abū Ḥāzim al-Ḥāfiẓ > Abū Aḥmad al-Ḥāfiẓ > Abū Jaʿfar Muḥammad b. al-Ḥasan al-Muqriʾ Bi-al-Kūfah > ʿAbbād b. Yaʿqūb al-Asadī > Ibn Abū Yaḥyá / Ibrāhīm > Dāwud b. al-Ḥuṣayn > Ibn ʿAbbās

[Machine] There is no problem with praying in the spaciousness of the mosque and the courtyard with the prayer of the imam.  

البيهقي:٥٢٤٣أَخْبَرَنَا أَبُو حَازِمٍ الْحَافِظُ أنبأ أَبُو أَحْمَدَ الْحَافِظُ أنبأ أَبُو جَعْفَرٍ مُحَمَّدُ بْنُ الْحَسَنِ الْمُقْرِئُ بِالْكُوفَةِ ثنا عَبَّادُ بْنُ يَعْقُوبَ الْأَسَدِيُّ أنبأ ابْنُ أَبِي يَحْيَى يَعْنِي إِبْرَاهِيمَ عَنْ دَاوُدَ بْنِ الْحُصَيْنِ عَنِ ابْنِ عَبَّاسٍ قَالَ

لَا بَأْسَ بِالصَّلَاةِ فِي رَحَبَةِ الْمَسْجِدِ وَالْبَلَاطِ بِصَلَاةِ الْإِمَامِ