Tafsir of Surah Al-A'raaf 7:30
﴿فَرِيقًا هَدَىٰ وَفَرِيقًا حَقَّ عَلَيْهِمُ الضَّلَالَةُ إِنَّهُمُ اتَّخَذُوا الشَّيَاطِينَ أَوْلِيَاءَ مِن دُونِ اللَّهِ وَيَحْسَبُونَ أَنَّهُم مُّهْتَدُونَ﴾
Translation of the meaning
A group [of you] He guided, and a group deserved [to be in] error. Indeed, they [i.e., the latter] had taken the devils as allies instead of Allāh while they thought that they were guided.
English Translation - Noor International Center — v1.1.2 · QuranEnc.comThe words of the two imams are given in their original Arabic, verbatim, with references.
Imam Ibn al-Qayyim
ولو قال: فريقا ضلوا لكان بغير تاء وقولهم: {حق عليهم الضلالة} في معناه فجاء بغير تاء«بدائع الفوائد» 1/127What he quoted from others
ابن عباس استشهد به «إن الله سبحانه بدأ خلق ابن آدم مؤمنا وكافرا»«طريق الهجرتين وباب السعادتين» 1/67