حَدَّثَنَا خَلَفُ بْنُ هِشَامٍ الْبَزَّارُ ، وَأَبُو عَبْدِ الرَّحْمَنِ الْعَلَّافُ ، وَغَيْرُهُمَا ، قَالُوا : حَدَّثَنَا أَبُو عَوَانَةَ ، عَنْ بُكَيْرِ بْنِ الْأَخْنَسِ ، عَنْ مُجَاهِدٍ ، عَنِ ابْنِ عَبَّاسٍ قَالَ : فَرَضَ اللهُ الصَّلَاةَ عَلَى لِسَانِ نَبِيِّكُمْ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - فِي الْحَضَرِ أَرْبَعًا ، وَفِي السَّفَرِ رَكْعَتَيْنِ ، وَفِي الْخَوْفِ رَكْعَةً .
Mujahid (may Allah have mercy on him) narrates from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that he said: "Allah Almighty made the prayer obligatory upon the tongue of your Prophet (peace and blessings be upon him) as four rak'ahs when resident (at one's place of residence), two rak'ahs when travelling, and one rak'ah in a state of fear."