Qur'an 16:100
إِنَّمَا سُلْطَـٰنُهُۥ عَلَى ٱلَّذِينَ يَتَوَلَّوْنَهُۥ وَٱلَّذِينَ هُم بِهِۦ مُشْرِكُونَ
“His authority is only over those who take him as an ally and those who through him associate others with Allāh.”
An-Nahl 16:100 · Saheeh International