Sahih al-Bukhari #4423 · Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)

Sahih al-BukhariAnas ibn Malik
Sahih al-Bukhari · Book 64 · Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
Sahih al-Bukhari · كتاب 64 · كتاب المغازي
Allah's Messenger (ﷺ) returned from the Ghazwa of Tabuk, and when he approached Medina, he said, "There are some people in Medina who were with you all the time, you did not travel any portion of the journey nor crossed any valley, but they were with you they (i.e. the people) said, "O Allah's Messenger (ﷺ)! Even though they were at Medina?" He said, "Yes, because they were stopped by a genuine excuse
حَدَّثَنَا أَحْمَدُ بْنُ مُحَمَّدٍ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا حُمَيْدٌ الطَّوِيلُ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم رَجَعَ مِنْ غَزْوَةِ تَبُوكَ فَدَنَا مِنَ الْمَدِينَةِ فَقَالَ ‏
"‏ إِنَّ بِالْمَدِينَةِ أَقْوَامًا مَا سِرْتُمْ مَسِيرًا وَلاَ قَطَعْتُمْ وَادِيًا إِلاَّ كَانُوا مَعَكُمْ ‏"‏‏.‏ قَالُوا يَا رَسُولَ اللَّهِ وَهُمْ بِالْمَدِينَةِ قَالَ ‏"‏ وَهُمْ بِالْمَدِينَةِ، حَبَسَهُمُ الْعُذْرُ ‏"‏‏.‏
Reference : Sahih al-Bukhari 4423In-book reference : Book 64, Hadith 445