Merits of the Helpers in Madinah (Ansaar)

Bukhari :: Book 5 :: Volume 58 :: Hadith 272

Narrated 'Aisha:

Originally, two Rakat were prescribed in every prayer. When the Prophet migrated (to Medina) four Rakat were enjoined, while the journey prayer remained unchanged(i.e. two Rakat).

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star