Narrated ‘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.
Sahih Bukhari, Volume 1, Book8, Number 346