It was narrated that Anas bin Malik said:
“When the Messenger of Allah (ﷺ) was returning from the campaign of Tabuk, and had drawn close to Al-Madinah, he said: ‘In Al-Madinah there are people who, as you traveled and crossed valleys, were with you.’ They said: ‘O Messenger 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.’”