Sunan Ibn Majah, Book 5, Hadith 211 (Ibn Majah 1013)

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.”