اَخْبَرَنَا الْمَخْزُوْمِیُّ، نَا اَبُوْ عَوَانَةَ، عَنْ بُکَیْرِ بْنِ الْاَخْنَسِ، عَنْ مُجَاهِدٍ عَنِ ابْنِ عَبَّاسٍ قَالَ: فَرَضَ اللّٰهُ عَلٰی لِسَانِ نَبِیِّکُمْ: صَلَاةَ الْحَضْرِ اَرْبَعًا وَالسَّفَرَ رَکْعَتَیْنِ، وَالْخَوْفَ رَکْعَةً.
Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrated: Allah has, through the tongue of your Prophet (peace and blessings be upon him), made obligatory the prayer of residence as four rak‘ahs, the prayer of travel as two rak‘ahs, and the prayer of fear as one rak‘ah.