The Book of Prayer
Bulugh al-Maram #511
كتاب الصلاة
عَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا قَالَتْ: «أَوَّلُ مَا فُرِضَتْ اَلصَّلَاةُ رَكْعَتَيْنِ, فَأُقِرَّتْ صَلَاةُ اَلسَّفَرِ وَأُتِمَّتْ صَلَاةُ اَلْحَضَرِ» مُتَّفَقٌ عَلَيْهِ
Narrated 'Aishah (RA) that when the Salat (prayer) was first prescribed, it consisted of two Rak'at. Afterwards, the prayer during travelling was confirmed (as two Rak'at), while the prayer at the place of residence was completed (as four Rak'at).
عَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا قَالَتْ: "أَوَّلُ مَا فُرِضَتْ اَلصَّلَاةُ رَكْعَتَيْنِ , فَأُقِرَّتْ صَلَاةُ اَلسَّفَرِ وَأُتِمَّتْ صَلَاةُ اَلْحَضَرِ" مُتَّفَقٌ عَلَيْهِ
Narrated 'Aishah (RA) that when the Salat (prayer) was first prescribed, it consisted of two Rak'at. Afterwards, the prayer during travelling was confirmed (as two Rak'at), while the prayer at the place of residence was completed (as four Rak'at).
— Bulugh al-Maram, Hadith 511