It wasnarrated from 'Abdullah bin Mas'ud that the Prophet (ﷺ)said:
"If the appointed time of death of anyone of you is in a certainland, some need will cause him to go there, then when he reaches thefurthest point that it is decreed he will reach, Allah takes (hissoul). And on the Day of Resurrection the earth will say: 'My Lord,this is what You entrusted to me.'"
English reference: Vol. 5, Book 37, Hadith 4263
Arabic reference: Book 37, Hadith 4404