Amr bin Dinar (may Allah have mercy on him) said that Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) used to say: Whoever prays in a mosque in which the iqamah for the prayer has been given, their iqamah suffices him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 1917