Sahih Bukhari | Volume 1 | Hadith Number 346

Narrated by 'Aisha
The mother of believers: Allah enjoined the prayer when He enjoined it, it was two Rakat only (in every prayer) both when in residence or on journey. Then the prayers offered on journey remained the same, but (the Rakat of) the prayers for non-travellers were increased.