Al-Ahzab 33:38
مَّا كَانَ عَلَى ٱلنَّبِىِّ مِنْ حَرَجٍ فِيمَا فَرَضَ ٱللَّهُ لَهُۥ ۖ سُنَّةَ ٱللَّهِ فِى ٱلَّذِينَ خَلَوْا۟ مِن قَبْلُ ۚ وَكَانَ أَمْرُ ٱللَّهِ قَدَرًا مَّقْدُورًا
Ma kana AAala annabiyyimin harajin feema farada Allahu lahusunnata Allahi fee allatheena khalaw min qablu wakanaamru Allahi qadaran maqdoora
There is not to be upon the Prophet any discomfort concerning that which Allāh has imposed upon him. [This is] the established way of Allāh with those [prophets] who have passed on before. And ever is the command of Allāh a destiny decreed.
There is no problem for the prophet in (doing) what Allah has prescribed for him, a customary practice of Allah in the case of those who have gone before - and Allah’s command is pre-determined by destiny -