The Book of Leading the Prayer (Al-Imamah)
10/9. Chapter:
A visitor leading the prayer
Sunan an-Nasai
أَخْبَرَنَا سُوَيْدُ بْنُ نَصْرٍ، قَالَ أَنْبَأَنَا عَبْدُ اللَّهِ، عَنْ أَبَانَ بْنِ يَزِيدَ، قَالَ حَدَّثَنَا بُدَيْلُ بْنُ مَيْسَرَةَ، قَالَ حَدَّثَنَا أَبُو عَطِيَّةَ، مَوْلًى لَنَا عَنْ مَالِكِ بْنِ الْحُوَيْرِثِ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " إِذَا زَارَ أَحَدُكُمْ قَوْمًا فَلاَ يُصَلِّيَنَّ بِهِمْ " .
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."'
Reference : Sunan an-Nasa'i 787In-book reference : Book 10, Hadith 11English translation : Vol. 1, Book 10, Hadith 788