It is narrated from Hazrat Ka'b (may Allah be pleased with him) that whenever the Prophet (peace and blessings be upon him) returned from a journey at the time of Duha (forenoon), he would first go to the mosque, perform two rak'ahs, and sit there for a while.
Hadith Referenceمسند احمد / من مسند القبائل / 27170
Hadith Gradingحکم دارالسلام:حديث صحيح، وقد اختلف فى إسناده على ابن جريج