وَمَنْ فَاتَتْهُ صَلَاةٌ فِي السَّفَرِ: قَضَاهَا فِي الْحَضَرِ رَكْعَتَيْنِ.
Translation: One who missed a prayer during travel makes it up as two rak‘ahs even when back in residence.
The obligation was fixed as two when it fell due; returning home does not retroactively change that missed obligation to four.