(There is no reproach) there is no sin or offence (for the Prophet in that which Allah maketh his due) in the dispensation Allah makes for him, by making him marry. (That was Allah's way) thus was Allah's decree (with those who passed away of old) before Muhammad (pbuh); the reference here is to David and his marriage to the wife of Uriya; and it is also said that this refers to the marriage of Solomon with Balqis (and the commandment of Allah is certain destiny) the decree of Allah must necessarily take place.
- 33:3838
مَا كَانَ عَلَى النَّبِيِّ مِنْ حَرَجٍ فِيمَا فَرَضَ اللَّهُ لَهُ ۖ سُنَّةَ اللَّهِ فِي الَّذِينَ خَلَوْا مِنْ قَبْلُ ۚ وَكَانَ أَمْرُ اللَّهِ قَدَرًا مَقْدُورًا
There is no constraint on the Prophet in what God has decreed for him. This has been the way of God with (apostles) who have gone before you, and God's command is a determined act.
- common.revelation-Medinan
- common.hizb : 169