Narrated `Aisha: the mother of believers: Allah enjoined the prayer when He enjoined it, it was two rak`at only (in every prayer) both when in residence or on journey. Then the prayers offered on journey remained the same, but (the rak`at of) the prayers for non-travelers were increased.
The chain is ordered from the source of the saying to the compiler: 1 = the speaker/first transmitter, the following links those who passed it on in turn, and at the bottom al-Bukhari who compiled the work. Click a narrator to list every hadith in which he appears; the number in parentheses is how many hadiths across the collections on this site the narrator appears in.