Bulugh al-Maram #266 · The Book of Prayer

Bulugh al-MaramAbu Qatadah
Bulugh al-Maram · Book 2 · The Book of Prayer
Bulugh al-Maram · كتاب 2 · كتاب الصلاة
Allah's Messenger (صلى الله عليه وسلم) said: "When one of you enters a mosque, he must not sit until he prays two Rak'ah." [Agreed upon].
وَعَنْ أَبِي قَتَادَةَ - رضى الله
عنه - قَالَ : قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -{ إِذَا دَخَلَ أَحَدُكُمْ اَلْمَسْجِدَ فَلَا يَجْلِسْ حَتَّى يُصَلِّيَ رَكْعَتَيْنِ } مُتَّفَقٌ عَلَيْهِ.
Reference : Bulugh al-Maram 266In-book reference : Book 2, Hadith 135