“We find (mention of) the prayer of the resident and the prayer in a state of fear in the Qur’an, but we do not find any mention of the prayer of the traveler. ‘Abdullah said to him: “Allah sent Muhammad (ﷺ) to us, and we did not know anything, rather we do what we saw Muhammad (ﷺ) doing.”
Sunan Ibn Majah Book 5, Hadith 264