It is narrated from Hazrat Ka'b (may Allah be pleased with him) that when the Prophet (peace and blessings be upon him) would return from a journey at the time of Duha (forenoon), he would first go to the mosque, offer two rak'ahs there, and after concluding the prayer with salam, he would sit on his prayer mat.