Sunan Ibn Majah
1012
Sahih+3

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:“When anyone of you enters the mosque, let him not sit down until he performs two Rak’ah.”

SahihAl-Albani
Sahih LighairihiMuhammad Fouad Abd al-Baqi