The Messenger of Allah ﷺ offered the prayer in his apartment and people were following him behind apartment. (Using translation from Abū Dāʾūd 1126)
صَلَّى النَّبِيُّ ﷺ فِي حُجْرَتِي وَالنَّاسُ يَأْتَمُّونَ بِهِ مِنْ وَرَاءِ الْحُجْرَةِ يُصَلُّونَ بِصَلَاتِهِ