Tafsir of Surah Al-Baqara 2:216
﴿كُتِبَ عَلَيْكُمُ الْقِتَالُ وَهُوَ كُرْهٌ لَّكُمْ وَعَسَىٰ أَن تَكْرَهُوا شَيْئًا وَهُوَ خَيْرٌ لَّكُمْ وَعَسَىٰ أَن تُحِبُّوا شَيْئًا وَهُوَ شَرٌّ لَّكُمْ وَاللَّهُ يَعْلَمُ وَأَنتُمْ لَا تَعْلَمُونَ﴾
Translation of the meaning
Battle has been enjoined upon you while it is hateful to you. But perhaps you hate a thing and it is good for you; and perhaps you love a thing and it is bad for you. And Allāh knows, while you know not.
English Translation - Noor International Center — v1.1.2 · QuranEnc.comThe words of the two imams are given in their original Arabic, verbatim, with references.
Shaykh al-Islam Ibn Taymiyyah
فأذن الله لهم أولا فيه ثم كتب عليهم ثانيا فقال: {كتب عليكم القتال وهو كره لكم وعسى أن تكرهوا شيئا وهو خير لكم وعسى أن تحبوا شيئا وهو شر لكم} (سورة البقرة 216) .«الصفدية» 2/317Imam Ibn al-Qayyim
وربه تعالى يريد مصلحته، ويسوق إليه أسبابها. ومن أعظم أسبابها: ما يكرهه العبد، فإن مصلحته فيما يكره أضعاف أضعاف مصلحته فيما يحب.«مدارج السالكين بين منازل إياك نعبد وإياك نستعين» 2/199