Anas bin Malik reported,

When the Messenger of Allah ﷺ returned from the expedition of Tabuk and drew near to Medina, he said, "In Medina there are people who were with you in every march you made and every valley you crossed."They asked, "Messenger of Allah, even though they were in Medina?"He replied, "Even though they were in Medina. A valid excuse kept them behind."

Ahmad 12009

Sahih

حدثنا ابن أبي عدي حدثنا حميد

عن أنس قال

لما رجع رسول الله ﷺ من غزوة تبوك فدنا من المدينة قال إن بالمدينة لقوما ما سرتم مسيرا ولا قطعتم واديا إلا كانوا معكم فيه قالوا يا رسول الله وهم بالمدينة قال وهم بالمدينة حبسهم العذر

أحمد 12009صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12009
Ahmad 12009