From Sahih Muslim (Hadith 1940):
Abdullah b. Mughaffal reported Allah's Messenger (ﷺ) u saying:There Is between the two calls (Adhan and Iqama) a prayer. And he mentioned it three times, and at the third time he said: This applies to those who wish to do it
Reference: Muslim 1940