Sunan an-Nasa'i, Book 5, Hadith 6 (In-Book)

It was narrated that 'Aishah said: "The first time the Salah was enjoined it was two Rak'ahs, and it remained as such when traveling, but the Salah while resident was made complete."

أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، قَالَتْ أَوَّلَ مَا فُرِضَتِ الصَّلاَةُ رَكْعَتَيْنِ فَأُقِرَّتْ صَلاَةُ السَّفَرِ وَأُتِمَّتْ صَلاَةُ الْحَضَرِ ‏.‏

sunnah.com