The Messenger of Allah (ﷺ) offered the prayer in his apartment and people were following him behind apartment.
Sunan Abi Dawud Book 2, Hadith 737