The Messenger of Allah ﷺ said, "Let each of you pray in his own mosque, and not go searching out other mosques."
قال رسول الله ﷺ: ليصل أحدكم في مسجده، ولا يتتبع المساجد.
No references are available.
Tabarani related it in Al-Awsat (5176) from Muhammad bin Ahmad bin Nasr Abu Jafar Tirmidhi, who said, "Ubadah bin Ziyad Asadi told us, he said, Zuhayr bin Muawiya told us, from Ubaydullah bin Umar, from Nafi, from Ibn Umar," and he mentioned something similar. Its chain of transmission is hasan because of Ubadah bin Ziyad Asadi, who is also called Abbad bin Ziyad, about whom there is disagreement. Musa bin Harun Hammal said, "I abandoned his hadith." Ibn Adi said, "Ubadah was from the people of Kufa, among the extremists in Shiism, and he has some objectionable hadiths concerning virtues." End of quote.I say, perhaps Musa bin Harun abandoned him because of his hadiths on virtues. As for matters other than virtues, he is truthful, since he was not accused of lying, and this is why Hafiz said in Taqrib, "Truthful, accused of holding the view of predestination denial and Shiism." However, Haythami said in Al-Majma (242), "Tabarani related it in Al-Kabir and Al-Awsat, and its narrators are deemed reliable, except for Tabarani's teacher Muhammad bin Ahmad bin Nadr Tirmidhi, whom I have not found anyone to give a biography for. Ibn Hibban mentioned in Ath-Thiqat, in the fourth generation, Muhammad bin Ahmad bin Nadr, the grandson of Muawiya bin Amr through his daughter, but I do not know whether this is the same person or not." End of quote.I say, Hafiz gave a biography in Al-Lisan (5/46) of Muhammad bin Ahmad bin Nasr Tirmidhi, Abu Jafar the jurist, who died in the year 295 AH. Khatib said of him, "He was trustworthy, a man of knowledge, virtue, and asceticism." It appears that this is indeed Tabarani's teacher, for he was born in the year 260 AH and died in the year 360 AH, so he would have encountered him when he was thirty-five years old. See Tarikh Baghdad (1/365).