Sunan an-Nasa'i 844
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."
أَخْبَرَنَا نَصْرُ بْنُ عَلِيٍّ، قَالَ أَنْبَأَنَا عَبْدُ الأَعْلَى، قَالَ حَدَّثَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ مَحْمُودٍ، عَنْ عِتْبَانَ بْنِ مَالِكٍ، أَنَّهُ قَالَ يَا رَسُولَ اللَّهِ إِنَّ السُّيُولَ لَتَحُولُ بَيْنِي وَبَيْنَ مَسْجِدِ قَوْمِي فَأُحِبُّ أَنْ تَأْتِيَنِي فَتُصَلِّيَ فِي مَكَانٍ مِنْ بَيْتِي أَتَّخِذُهُ مَسْجِدًا ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ سَنَفْعَلُ ‏"‏ ‏.‏ فَلَمَّا دَخَلَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ أَيْنَ تُرِيدُ ‏"‏ ‏.‏ فَأَشَرْتُ إِلَى نَاحِيَةٍ مِنَ الْبَيْتِ فَقَامَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَصَفَفْنَا خَلْفَهُ فَصَلَّى بِنَا رَكْعَتَيْنِ ‏.‏