Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:2839Sulaymān b. Ḥarb > Ḥammād > Ibn Zayd > Ḥumayd > Anas

While the Prophet ﷺ was in a Ghazwa he said, "Some people have remained behind us in Medina and we never crossed a mountain path or a valley, but they were with us (i.e. sharing the reward with us), as they have been held back by a (legal) excuse. "  

البخاري:٢٨٣٩حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ حَدَّثَنَا حَمَّادٌ هُوَ ابْنُ زَيْدٍ عَنْ حُمَيْدٍ عَنْ أَنَسٍ ؓ

أَنَّ النَّبِيَّ ﷺ كَانَ فِي غَزَاةٍ فَقَالَ إِنَّ أَقْوَامًا بِالْمَدِينَةِ خَلْفَنَا مَا سَلَكْنَا شِعْبًا وَلاَ وَادِيًا إِلاَّ وَهُمْ مَعَنَا فِيهِ حَبَسَهُمُ الْعُذْرُ وَقَالَ مُوسَى حَدَّثَنَا حَمَّادٌ عَنْ حُمَيْدٍ عَنْ مُوسَى بْنِ أَنَسٍ عَنْ أَبِيهِ قَالَ النَّبِيُّ ﷺ قَالَ أَبُو عَبْدِ اللَّهِ الأَوَّلُ أَصَحُّ