The Messenger of Allah ﷺ said, "When Allah decrees that a servant should die in a particular land, He creates for him a need that brings him to it."
قال رسول الله ﷺ: إذا قضى الله لعبد أن يموت بأرض جعل له إليها حاجة.
Tirmidhi (2146) narrated it, as did Abdullah bin Ahmad in the Musnad of his father (21982), Bukhari in Tarikh al-Kabir (7/400), and Hakim (1/42), all of them through Sufyan Thawri, from Abu Ishaq Sabi, from Matar bin Ukamis, who related it. Its chain of transmission is sahih.There has been disagreement about whether Matar bin Ukamis was a companion. The majority of scholars who wrote about the companions listed him among them, and he has no narration other than this single hadith, as Tirmidhi likewise stated.