Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:66:2

Allah has already ordained for you ˹Muslims˺ the dissolution of your oaths. And Allah is your protector, and He is the Knowing, the Wise.  

Verily God has prescribed, He has made lawful, for you ˹when necessary˺ the absolution of your oaths, to absolve them by expiation, as mentioned in the sūrat al-Mā’ida ˹Q. 5:89˺ and the forbidding of ˹sexual relations with˺ a handmaiden counts as an oath, so did the Prophet (s) expiate? Muqātil ˹b. Sulaymān˺ said, ‘He set free a slave ˹in expiation˺ for his prohibition of Māriya’; whereas al-Hasan ˹al-Basrī˺ said, ‘He never expiated, because the Prophet (s) has been forgiven ˹all errors˺’. And God is your Protector, your Helper, and He is the Knower, the Wise.
القرآن:٦٦:٢

قَدْ فَرَضَ اللَّهُ لَكُمْ تَحِلَّةَ أَيْمَانِكُمْ ۚ وَاللَّهُ مَوْلَاكُمْ ۖ وَهُوَ الْعَلِيمُ الْحَكِيمُ  

(قد فرض الله) شرع (لكم تحلة أيمانكم) تحليلها بالكفارة المذكورة في سورة "" المائدة "" ومن الإيمان تحريم الأمة وهل كفّر ﷺ ؟ قال مقاتل: أعتق رقبة في تحريم مارية، وقال الحسن: لم يكفّر لأنه ﷺ مغفور له (والله مولاكم) ناصركم (وهو العليم الحكيم).