Matar 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." (FR)
English reference (FR): Vol. 4, Book 6, Hadith 2146 (FR)
Arabic reference (FR): Book 32, Hadith 2297 (FR)