(37) باب الأَمْرِ بِالصَّلاَةِ قَبْلَ الْجُلُوسِ فِيهِ
It was narrated from Abu Qatadah that the Messenger of Allah (ﷺ) said:
"When any one of you enters the Masjid, let him pray two Rak'ahs before he sits down." (ES)
Reference (ES): Sunan an-Nasa'i 730 (ES)
In-book reference (ES): Book 8, Hadith 43 (ES)
English translation (ES): Vol. 1, Book 8, Hadith 731 (ES)