Sayyiduna Ibn Abbas (may Allah be pleased with them both) says: Allah Almighty has made five prayers obligatory on the tongue of your Prophet (peace be upon him): four rak‘ahs in residence, two in travel, and one rak‘ah in fear.
Related hadith on this topic