Tafsir of Surah Al-Israa 17:54
﴿رَّبُّكُمْ أَعْلَمُ بِكُمْ إِن يَشَأْ يَرْحَمْكُمْ أَوْ إِن يَشَأْ يُعَذِّبْكُمْ وَمَا أَرْسَلْنَاكَ عَلَيْهِمْ وَكِيلًا﴾
Translation of the meaning
Your Lord is most knowing of you. If He wills, He will have mercy upon you; or if He wills, He will punish you. And We have not sent you, [O Muḥammad], over them as a manager.
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
فعلق الرحمة بالمشيئة كما علق التعذيب. وما تعلق بالمشيئة مما يتصف به الرب فهو من " الصفات الاختيارية ".«مجموع الفتاوى» 6/262