Sunan an-Nasa'i #1532 · The Book of the Fear Prayer

Sunan an-Nasa'iIt was narrated that Ibn Abbas said
Sunan an-Nasa'i · Book 18 · The Book of the Fear Prayer
Sunan an-Nasa'i · كتاب 18 · كتاب صلاة الخوف
"Allah (SWT) enjoined the prayer on the tongue of your Prophet (ﷺ): four (rak'ahs) while a resident, two rak'ahs while traveling, and one rak'ah during times of fear
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ بُكَيْرِ بْنِ الأَخْنَسِ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ فَرَضَ اللَّهُ الصَّلاَةَ عَلَى لِسَانِ نَبِيِّكُمْ صلى الله عليه وسلم فِي الْحَضَرِ أَرْبَعًا وَفِي السَّفَرِ رَكْعَتَيْنِ وَفِي الْخَوْفِ رَكْعَةً ‏.‏
Reference : Sunan an-Nasa'i 1532In-book reference : Book 18, Hadith 4