Sunan An-Nasa'i - سنن النسائي
10. The Book of Leading the Prayer (Al-Imamah) - كتاب الإمامة
9) Chapter: A visitor leading the prayer
It was narrated that Malik bin Al-Huwairith said:
"I heard the Messenger of Allah (ﷺ) say: 'When any one of you visits some people,he should not lead them in prayer."'
9) باب إِمَامَةِ الزَّائِرِ
أَخْبَرَنَا سُوَيْدُ بْنُ نَصْرٍ، قَالَ أَنْبَأَنَا عَبْدُ اللَّهِ، عَنْ أَبَانَ بْنِ يَزِيدَ، قَالَ حَدَّثَنَا بُدَيْلُ بْنُ مَيْسَرَةَ، قَالَ حَدَّثَنَا أَبُو عَطِيَّةَ، مَوْلًى لَنَا عَنْ مَالِكِ بْنِ الْحُوَيْرِثِ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ . " إِذَا زَارَ أَحَدُكُمْ قَوْمًا فَلاَ يُصَلِّيَنَّ بِهِمْ "