Abu Saeed Khudri reported,

A bedouin asked the Messenger of Allah ﷺ about migration.He said, "Woe to you, the matter of migration is a hard one. Do you own any camels?"The man replied, "Yes."The Prophet ﷺ asked, "And do you pay the charity due on them?"He said, "Yes."The Prophet ﷺ said, "Then do good wherever you are, even from beyond the seas, for Allah will let nothing of your deeds go to waste."

Muslim 4833

Sahih

و حدثناه عبد الله بن عبد الرحمن الدارمي حدثنا محمد بن يوسف عن الأوزاعي بهذا الإسناد مثله غير أنه قال إن الله لن يترك من عملك شيئا وزاد في الحديث قال فهل تحلبها يوم وردها قال نعم

مسلم 4833صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Leadership
Chapter
Pledging allegiance after the conquest of Makkah for Islam, jihad, and good, and the explanation of "There is no emigration after the conquest"
Numbering
Darussalam 4833
Muslim 4833