Mishkat al-Masabih #103
Faith
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَن مطر بن عكام قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا قَضَى اللَّهُ لِعَبْدٍ أَنْ يَمُوتَ بِأَرْضٍ جَعَلَ لَهُ إِلَيْهَا حَاجَةً» . رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيّ
Matar b. ‘Ukamis reported God’s messenger as saying, “When God decrees that someone should die in a certain land, He gives him a reason for going there."
Ahmad and Tirmidhi transmitted it.
Topics
About Mishkat al-Masabih
This hadith is #103 from Mishkat al-Masabih, in the Book of Faith.