Jami` at-Tirmidhi 2146
جامع الترمذي#2146SahihMatar bin 'Ukamis narrated that the Messenger of Allah (s.a.w) said:"When Allah decrees that a slave (of His) is to die in a land, He makes him have some need from it." Another chain reports a similar narration
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirSahih
Al-AlbaniSahih
Zubair Ali ZaiSahih
In-book reference: 32:14