Hadith 22B1

قَالَ يَحْيَى: قَالَ مَالِك: مَنْ أَدْرَكَ الْوَقْتَ وَهُوَ فِي سَفَرٍ ، فَأَخَّرَ الصَّلَاةَ سَاهِيًا أَوْ نَاسِيًا حَتَّى قَدِمَ عَلَى أَهْلِهِ ، أَنَّهُ إِنْ كَانَ قَدِمَ عَلَى أَهْلِهِ وَهُوَ فِي الْوَقْتِ فَلْيُصَلِّ صَلَاةَ الْمُقِيمِ ، وَإِنْ كَانَ قَدْ قَدِمَ وَقَدْ ذَهَبَ الْوَقْتُ فَلْيُصَلِّ صَلَاةَ الْمُسَافِرِ ، لِأَنَّهُ إِنَّمَا يَقْضِي مِثْلَ الَّذِي كَانَ عَلَيْهِ .
Imam Malik, may Allah have mercy on him, said: If a person is on a journey and the time for prayer comes, then that person, due to forgetfulness or confusion, delays the prayer until he returns to his home, and there is still time remaining, then he should perform the prayer in full like a resident, not shortened. And if the time has passed, then he should perform it shortened, because now he will be offering the missed prayer, and the missed prayer should be performed in the same manner as it was originally obligatory.
Hadith Reference موطا امام مالك رواية يحييٰ / كتاب وقوت الصلاة / 22B1
Hadith Takhrij «شركة الحروف نمبر: 20، فواد عبدالباقي نمبر: 1 - كِتَابُ وُقُوتِ الصَّلَاةِ-ح: 23»