Sayyiduna Ali (may Allah be pleased with him) narrates: Whenever the Prophet (peace and blessings be upon him) returned from a journey, he would first pray two rak'ahs.
Al-Tabarani recorded it in al-Mu'jam al-Awsat. Its chain contains a narrator, al-Harith, and he is da'if (weak).