Sahih al-Bukhari 5151
Sahih al-Bukhari · Book 67: Wedlock, Marriage (Nikaah) · The conditions stipulated in marriage (contract)
Narrated `Uqba:
حَدَّثَنَا أَبُو الْوَلِيدِ، هِشَامُ بْنُ عَبْدِ الْمَلِكِ حَدَّثَنَا لَيْثٌ ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ ، عَنْ أَبِي الْخَيْرِ ، عَنْ عُقْبَةَ ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " أَحَقُّ مَا أَوْفَيْتُمْ مِنَ الشُّرُوطِ أَنْ تُوفُوا بِهِ مَا اسْتَحْلَلْتُمْ بِهِ الْفُرُوجَ " .
The Prophet (ﷺ) said: "The stipulations most entitled to be abided by are those with which you are given the right to enjoy the (women's) private parts (i.e. the stipulations of the marriage contract).