فأما حكم هذه الوظيفة فأجمع العلماء على أنها فرض على الكفاية لا فرض عين إلا عبدالله بن الحسن فإنه قال إنها تطوّع وانما صار الجمهور لكونه فرضاً لقوله تعالى ﴿ كتب عليكم القتال وهو كرهٌ لكم ﴾ الآية … وأما على من يجب فهم الرجال الأحرار البالغون الذين يجدون بما يغزون الأصحاء إلا المرضى وإلا الزمنى
بداية المجتهد ونهاية المقتصد لإبن رشد كتاب الجهاد الجملة الأولى في معرفة أركان الحرب ألفصل الأول في معرفة حكم هذه الوظيفة
Concerning the ruling in this duty [jihad], the scholars have come together unanimously that it is a collective obligation, not an individual obligation, except Abdullah ibn Al-Hasan, who said that indeed it is voluntary. Indeed the community took it as an obligation from what the Most High said: { Fighting is ordained for you, being something you dislike … } to the end of the verse [Al-baqara 216]. … Those who are obliged to it are men, free, who have come of age, those who have the means to go out on attacks, and healthy, excepting the sick and chronically ill.
Ibn Rushd, Bidaya Al-mujtahid wa Nihaya Al-Muqtasid [Primer for the Deducers and Resolution for the Moderate], The book of jihad, Part one: knowing the elements of war, Section one: knowing the ruling concerning this duty