[Machine] Allah ﷻ has prescribed prayer upon the tongue of your Prophet ﷺ in settled places as four (rak'ahs), and in traveling as two (rak'ahs), and in fear as one (rak'ah), and the wording of both is the same.
فَرَضَ اللهُ ﷻ الصَّلَاةَ عَلَى لِسَانِ نَبِيِّكُمْ ﷺ فِي الْحَضَرِ أَرْبَعًا وَفِي السَّفَرِ رَكْعَتَيْنِ وَفِي الْخَوْفِ رَكْعَةً لَفْظُ حَدِيثِهِمَا سَوَاءٌ