حَدَّثَنَا سَعِيدٌ قَالَ: نا أَبُو عَوَانَةَ، عَنْ بُكَيْرِ بْنِ الْأَخْنَسِ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ: «فَرَضَ اللَّهُ الصَّلَاةَ عَلَى لِسَانِ نَبِيِّكُمْ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فِي الْحَضَرِ أَرْبَعًا، وَفِي السَّفَرِ رَكْعَتَيْنِ، وَفِي الْخَوْفِ رَكْعَةً»
Ibn Abbas (may Allah be pleased with them both) said: Allah Almighty made prayer obligatory on the tongue of your Prophet (peace be upon him): four rak‘ahs in residence, two rak‘ahs during travel, and one rak‘ah at the time of fear.