Riyad as-Salihin (The Meadows of the Righteous)
by Imam Nawawi
178. Chapter: On the recommendation for the one who arrives to go first to the mosque in his area and pray two rak'ats in it
988. Ka'b ibn Malik reported that when the Messenger of Allah, may Allah bless him and grant him peace, came back from a journey, he went first to the mosque and prayed two rak'ats." [Agreed upon]


