Malik b. al-Huwairith came to this place of prayer of ours, and the iqamah for prayer was called. We said to him: Come forward and lead the prayer. He said to us: Put one of your own men forward to lead you in prayer. I heard the Messenger of Allah ﷺ say: If anyone visits people, he should not lead them in prayer, but some person of them should lead the prayer. (Using translation from Abū Dāʾūd 596)
لَنَا قَدِمُوا رَجُلًا مِنْكُمْ لِيُصَلِّيَ بِكُمْ وَسَأُحَدِّثُكُمْ لِمَ لَا أُصَلِّي بِكُمْ سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «مَنْ زَارَ قَوْمًا فَلَا يَؤُمُّهُمْ وَلْيَؤُمُّهُمْ رَجُلٌ مِنْهُمْ»