It was narrated from Abu Qatadah that the Prophet (ﷺ) said:“When one of you enters the mosque, let him perform two Rak’ah before he sits down.”
Hadith No. 1013
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih - Bukhari And Muslim