Ka’ab bin Malik said “The Prophet (ﷺ) used to arrive from a journey in the daytime. Al Hasan said “During the forenoon.” When he arrived from a journey he went first to the mosque where he prayed two rak’ahs after which he sat in it and gave audience to the people”
SahihSahihIsnaad Sahih Sahih Bukhari (3088) Sahih Muslim (3769)Book 15 · Hadith 305