Translation for 24:54

قُلۡ أَطِيعُواْ ٱللَّهَ وَأَطِيعُواْ ٱلرَّسُولَۖ فَإِن تَوَلَّوۡاْ فَإِنَّمَا عَلَيۡهِ مَا حُمِّلَ وَعَلَيۡكُم مَّا حُمِّلۡتُمۡۖ وَإِن تُطِيعُوهُ تَهۡتَدُواْۚ وَمَا عَلَى ٱلرَّسُولِ إِلَّا ٱلۡبَلَٰغُ ٱلۡمُبِينُ ٥٤
Say, “Obey Allah and obey the Messenger. But if you turn away, then he is only responsible for his duty1 and you are responsible for yours.2 And if you obey him, you will be ˹rightly˺ guided. The Messenger’s duty is only to deliver ˹the message˺ clearly.”

Foot notes

222247
The Prophet’s only duty is to deliver the message.
222248
Their only duty is to obey the Prophet (ﷺ) by submitting to Allah.