Surah At-Tahrim

66:1

يَٰٓأَيُّهَا ٱلنَّبِىُّ لِمَ تُحَرِّمُ مَآ أَحَلَّ ٱللَّهُ لَكَ ۖ تَبْتَغِى مَرْضَاتَ أَزْوَٰجِكَ ۚ وَٱللَّهُ غَفُورٌۭ رَّحِيمٌۭ

O Prophet, why do you prohibit [yourself from] what Allah has made lawful for you, seeking the approval of your wives? And Allah is Forgiving and Merciful.

Tafsir 66:1

O Messenger! Why do you make impermissible that which Allah has made permissible for you, i.e. making use of your servant girl Mariah, wanting to please your wives in doing so after they expressed protective jealousy over her? Allah is Forgiving towards you and is Merciful to you.