كتاب الصلاة
4  
Prayer
(24c)
Chapter: The Congregation and its Excellence - Section 3
(23)
باب الجماعة وفضلها - الفصل الثالث
Mishkat al-Masabih 1074
He said that God’s Messenger gave them this command, “When you are in the mosque and the call to prayer is made, none of you must go out before he prays.” Ahmad transmitted it.
وَعَنْهُ قَالَ: أَمَرَنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِذَا كُنْتُمْ فِي الْمَسْجِدِ فَنُودِيَ بِالصَّلَاةِ فَلَا يَخْرُجْ أَحَدُكُمْ حَتَّى يُصَلِّيَ. رَوَاهُ أَحْمد
  حسن   (الألباني) حكم   :
Reference : Mishkat al-Masabih 1074
In-book reference : Book 4, Hadith 492