´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."
Hadith Referenceسنن نسائي / كتاب المساجد / 731
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه