Five prayers every day and night
A man from Najd came to the Prophet ﷺ and asked about Islam, and the Prophet ﷺ answered: "Five prayers in the day and the night." The man asked whether he had to pray anything else, and he said: "No, unless you volunteer" (Sahih al-Bukhari 46). Allah says: "Indeed, prayer has been decreed upon the believers a decree of specified times" (Quran 4:103).
Aisha (may Allah be pleased with her) said that prayer was first made two rak'ahs in residence and in travel, then the travel prayer was kept as it was and the prayer at home was increased (Sahih al-Bukhari 350). This is why the travel prayer is two rak'ahs for the prayers that have four.



