He came to the Prophet ﷺ together with a group of his companions, and they said to him, "Watch over our mounts, then you may go in." He was the youngest of the party.The Prophet ﷺ saw to their needs, and then they said to him, "Go in."So he went in, and the Prophet ﷺ asked, "What is your need?"He said, "My need is that you tell me whether emigration has come to an end."The Prophet ﷺ said, "Your need is better than their needs. Emigration will not cease so long as the enemy is fought."
حدثنا إسحاق بن عيسى حدثنا يحيى بن حمزة عن عطاء الخراساني حدثني ابن محيريز
أنه قدم على النبي ﷺ في ناس من أصحابه فقالوا له احفظ رحالنا ثم تدخل وكان أصغر القوم فقضى لهم حاجتهم ثم قالوا له ادخل فدخل فقال حاجتك قال حاجتي تحدثني أنقضت الهجرة فقال النبي ﷺ حاجتك خير من حوائجهم لا تنقطع الهجرة ما قوتل العدو
Its isnad is sahih. Yahya bin Hamza is trustworthy, and his hadith is found in the collections of the group. Ata Khurasani is Ibn Abu Muslim, and he is trusted despite having some errors, and his hadith is found in Muslim. Ibn Muhayriz is Abdullah, and he is trustworthy, and his hadith is found in the collections of the group. The hadith was narrated by Tahawi in Mushkil 3/257, and Bayhaqi 9/18.