It wasnarrated that Anas bin Malik said:
"When the Messenger ofAllah(ﷺ) was returning from the campaign of Tabuk, and had drawncloseto Al-Madinah, he said: 'In Al-Madinah there are people who, asyoutraveled and crossed valleys, were with you.' They said: 'OMessenger of Allah, even though they are in Al-Madinah?' He said:'Even though they were in Al-Madinah. They were kept behind by(legitimate) excuses.'"
English reference: Vol. 4, Book 24, Hadith 2764
Arabic reference: Book 24, Hadith 2869