Surah At-Tawbah, ayah 62

9:62

يَحۡلِفُونَ بِٱللَّهِ لَكُمۡ لِيُرۡضُوكُمۡ وَٱللَّهُ وَرَسُولُهُۥٓ أَحَقُّ أَن يُرۡضُوهُ إِن كَانُواْ مُؤۡمِنِينَ ٦٢

Yahlifūna billāhi lakum liyurdūkum wallāhu warasūluhū ahaqqu an yurdūhu in kānū mu'minīn

They swear by Allāh to you [Muslims] to satisfy you. But Allāh and His Messenger are more worthy for them to satisfy,489 if they were to be believers.

Footnotes

489 Literally, "to satisfy Him," meaning that Allāh would be satisfied by obedience to the Messenger (ﷺ).