It is narrated from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that we travelled one night with the Messenger of Allah (peace and blessings be upon him); then he narrated the hadith about sleeping through the prayer until the sun rose. In it, it says that he (peace and blessings be upon him) ordered Bilal (may Allah be pleased with him); he gave the adhan, then the iqamah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 1899