It is narrated from Ibrahim al-Nakha'i (may Allah have mercy on him) that he regarded it as disliked and makruh that "a man should leave the mosque when he has heard the iqamah of the prayer."
[Takhrij: Musannaf Ibn Abi Shaybah: 404, and its chain is sahih (authentic)]
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الصلاة / 404
Hadith Gradingمحدثین:إسناده حسن، موقوف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :موقوف، إسناده حسن لغيره. » «انفرد به المصنف من هذا الطريق»