Abdullah bin Masud reported,

The Prophet ﷺ said, "When the appointed time of death for one of you is set in a certain land, a need will arise that compels him to travel there. Once he reaches the furthest point of his journey, Allah, glorified be He, takes his soul. Then on the Day of Resurrection, that land will say, 'My Lord, this is what You entrusted to me.'"

Ibn Majah 4263

Sahih

حدثنا أحمد بن ثابت الجحدري وعمر بن شبة بن عبيدة قالا حدثنا عمر بن علي أخبرني إسمعيل بن أبي خالد عن قيس بن أبي حازم

عن عبد الله بن مسعود

عن النبي ﷺ قال إذا كان أجل أحدكم بأرض أوثبته إليها الحاجة فإذا بلغ أقصى أثره قبضه الله سبحانه فتقول الأرض يوم القيامة رب هذا ما استودعتني

ابن ماجه 4263صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Asceticism
Chapter
Death and preparing for it
Numbering
Darussalam 4263
Ibn Majah 4263