Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) says: I was with the Messenger of Allah (peace and blessings be upon him). When he (peace and blessings be upon him) returned to Madinah from a journey, he (peace and blessings be upon him) said to me: "First go to the mosque and pray two rak'ahs."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18589