(46) باب الْجَمَاعَةُ لِلنَّافِلَةِ
It was narrated from 'Itban bin Malik that he said:
"0 Messenger of Allah (ﷺ) the floods keep me from coming to the Masjid of my people. I would like you to come and pray in a place in my house so that I can take it as a Masjid." The Messenger of Allah (ﷺ) said: "We shall do that." "When the Messenger of Allah (ﷺ) entered he said: 'Where do you want (me to pray).' I showed him a comer of the house, and the Messenger of Allah (ﷺ) stood there, and we formed rows behind him, and he led us in praying two Rak'ahs."
Reference: Sunan an-Nasa'i 844
In-book reference: Book 10, Hadith 68
English translation: Vol. 1, Book 10, Hadith 845