The duty of Jihad is waived for those who have excuses Sahih Muslim 1898 b

Arabic hadith text
وَحَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا ابْنُ بِشْرٍ، عَنْ مِسْعَرٍ، حَدَّثَنِي أَبُو إِسْحَاقَ، عَنِ الْبَرَاءِ، قَالَلَمَّا نَزَلَتْ ‏‏{‏ لاَ يَسْتَوِي الْقَاعِدُونَ مِنَ الْمُؤْمِنِينَ‏}‏ كَلَّمَهُ ابْنُ أُمِّ مَكْتُومٍ فَنَزَلَتْ ‏‏{‏ غَيْرُ أُولِي الضَّرَرِ‏}‏
Translation
It has been narrated on the authority of Bara' who said

When the Qur'anic verse:" Those who sit (at home) from among mu'min" (iv. 94) was revealed, the son of Umm Maktum spoke to him (the Holy Prophet). (At this). the words:" other than those who have a trouble (illness)" were revealed.