حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا ابْنُ أَبِي عَدِيٍّ، عَنْ حُمَيْدٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ لَمَّا رَجَعَ رَسُولُ اللَّهِ صلى الله عليه وسلم مِنْ غَزْوَةِ تَبُوكَ فَدَنَا مِنَ الْمَدِينَةِ قَالَ ‏"‏ إِنَّ بِالْمَدِينَةِ لَقَوْمًا مَا سِرْتُمْ مِنْ مَسِيرٍ وَلاَ قَطَعْتُمْ وَادِيًا إِلاَّ كَانُوا مَعَكُمْ فِيهِ ‏"‏ ‏.‏ قَالُوا يَا رَسُولَ اللَّهِ وَهُمْ بِالْمَدِينَةِ قَالَ ‏"‏ وَهُمْ بِالْمَدِينَةِ حَبَسَهُمُ الْعُذْرُ ‏"‏ ‏.‏

It wasnarrated that Anas bin Malik said: “When the Messenger ofAllah(PBUH) 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.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 24 Hadith 2764
Web Ref:  Sunan Ibn Majah Vol 4 Book 24 Hadith 2764