Abdullah bin Saadi reported,

We came as a delegation to the Messenger of Allah ﷺ. My companions entered before me and he attended to their needs. I was the last of them to enter, and he asked, "What is your need?"I said, "Messenger of Allah, when will hijrah come to an end?"The Messenger of Allah ﷺ replied, "Hijrah will not come to an end so long as the disbelievers are being fought."

Nasai 4178

Sahih

أخبرنا محمود بن خالد قال حدثنا مروان بن محمد قال حدثنا عبد الله بن العلاء بن زبر قال حدثني بسر بن عبيد الله عن أبي إدريس الخولاني عن حسان بن عبد الله الضمري

عن عبد الله بن السعدي قال

وفدنا على رسول الله ﷺ فدخل أصحابي فقضى حاجتهم وكنت آخرهم دخولا فقال حاجتك فقلت يا رسول الله متى تنقطع الهجرة قال رسول الله ﷺ لا تنقطع الهجرة ما قوتل الكفار

النسائي 4178صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Pledge of allegiance
Chapter
Difference of opinion regarding the cessation of emigration
Numbering
Darussalam 4178
Nasai 4178