Abdullah bin Saadi reported,

Abdullah reported that he came to the Prophet ﷺ along with a group of his companions. They said to him, "Watch our mounts, then you may enter," for he was the youngest of the group. The Prophet ﷺ saw to their needs, then they said to him, "Go in." So he entered.The Prophet ﷺ asked, "What do you need?"He replied, "What I need is for you to tell me, has the time for hijrah ended?"The Prophet ﷺ said, "Your need is better than theirs. Hijrah will not cease as long as the enemy is being fought."

Azami 8141

Sahih

عن عبد الله بن السعدي- رجل من بني مالك بن حسل

- عبد الله أنه قدم على النبي ﷺ في ناس من أصحابه فقالوا له: احفظ رحالنا، ثم تدخل، وكان أصغر القوم، فقضى لهم حاجتهم ثم قالوا له: ادخل فدخل، فقال: حاجتك؟ قال: حاجتي تحدثني: انقضت الهجرة؟ فقال النبي ﷺ: حاجتك خير من حوائجهم، لا تنقطع الهجرة ما قوتل العدو.

الأعظمي 8141صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Migration
Section
Hijrah from the land of disbelief to the land of Islam does not cease
Numbering
Jami al-Kamil 8141 (2nd edition)
Azami 8141