“Allah enjoined the prayer upon the tongue of your Prophet ﷺ: Four Rak’ah while a resident and two Rak’ah when traveling.” (Using translation from Ibn Mājah 1068)
أَيُّهَا النَّاسُ إِنَّ اللهَ ﷻ فَرَضَ لَكُمْ عَلَى لِسَانِ نَبِيِّكُمْ الصَّلَاةَ فِي الْحَضَرِ أَرْبَعًا وَفِي السَّفَرِ رَكْعَتَيْنِ