Yahya bin Abi Ishaq (may Allah have mercy on him) narrates from Sayyiduna Anas bin Malik (may Allah be pleased with him): We set out with the Prophet (peace and blessings be upon him) from Madinah to Makkah, and he (peace and blessings be upon him) prayed two rak'ahs each until he returned. I said: "How many days did he stay in Makkah?" He said: "Ten days."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5482
Sa'id bin Shufayy narrates from Ibn Abbas (may Allah be pleased with them both) that whenever the Messenger of Allah (peace and blessings be upon him) left his house intending a journey, he would pray two rak'ahs each until he returned.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5483
Ali bin Zayd narrates from Abu Nadrah that a man asked Sayyiduna Imran bin Husayn (may Allah be pleased with him) about the prayer of the Prophet (peace and blessings be upon him) on journeys. He said: "Come to our gathering." Then he said: "This man has asked about the prayer of the Prophet (peace and blessings be upon him) on journeys, so you too learn it from me. Whenever the Prophet (peace and blessings be upon him) travelled, he would pray two rak'ahs each until he returned, and he would say: 'O people of Makkah! Stand and pray two (more) rak'ahs, for we are travellers.' He went on the expeditions of Ta'if and Hunayn and prayed two rak'ahs, and he came to al-Ji'ranah and performed Umrah from there. I performed Hajj and Umrah with Sayyiduna Abu Bakr (may Allah be pleased with him), and he used to pray two rak'ahs. Sayyiduna Umar bin al-Khattab and Sayyiduna Uthman (may Allah be pleased with them both) also used to pray two rak'ahs at the beginning of their caliphate; then Sayyiduna Uthman (may Allah be pleased with him) began praying four rak'ahs at Mina."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5484
(a) Musa bin Salamah said: I asked Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both): "I stay in Makkah; how should I pray?" He said: "Praying two rak'ahs is the Sunnah of the Prophet (peace and blessings be upon him)."
(b) Amr bin Marzuq (narrates that he) said: I asked Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both): "How much should I pray when I miss the prayer in al-Masjid al-Haram?" He said: "Two rak'ahs; that is the Sunnah of Abu al-Qasim (peace and blessings be upon him)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5485