[Machine] From the Prophet ﷺ , he said: "The prayer of presence is four (rak'ahs), and the prayer of travel is two (rak'ahs), and the prayer of fear is one (rak'ah)."
عَنِ النَّبِيِّ ﷺ قَالَ «صَلَاةُ الْحَضَرِ أَرْبَعًا وَالسَّفَرِ رَكْعَتَيْنِ وَالْخَوْفِ رَكْعَةً»