It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that Allah Almighty has made prayer obligatory upon you through the tongue of your Prophet: four rak‘ahs for the resident, two rak‘ahs for the traveler, and one rak‘ah for the one who prays in fear.