«قَالَ إِنِّي لِعَمَلِكُمْ مِنَ الْقَالِينَ»
He said, “I am among those who detest your deed.”
The first «قال» belongs to the verb of saying; «القالين» belongs to a different lexical root associated with aversion. Their visible and audible proximity can suggest a derivational relation, but they do not actually derive from the same root.
This is quasi-derivation (shibh al-ishtiqāq). A shared-looking sequence of letters is not enough: the root and the semantic history must be examined.