وَإِنْ مَسَحَ مُقِيمٌ ثُمَّ سَافَرَ قَبْلَ تَمَامِ مُدَّتِهِ أَتَمَّ مُدَّةَ الْمُسَافِرِ
If a resident becomes a legal traveler before the resident's 24-hour period has ended, the person completes the traveler's total period of 72 hours counted from the original starting point of the wiping period.