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.
bukhari:4893ʿAbdullāh b. Muḥammad > Wahbb. Jarīr from my father > al-Zubayr > ʿIkrimah

Regarding the saying of Allah: 'And they will not disobey you in any just matter.' (60.12) That was one of the conditions which Allah imposed on The believing) women (who came to take the oath of allegiance to the Prophet).  

البخاري:٤٨٩٣حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ حَدَّثَنَا وَهْبُ بْنُ جَرِيرٍ قَالَ حَدَّثَنَا أَبِي قَالَ سَمِعْتُ الزُّبَيْرَ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ

فِي قَوْلِهِ تَعَالَى {وَلاَ يَعْصِينَكَ فِي مَعْرُوفٍ} قَالَ إِنَّمَا هُوَ شَرْطٌ شَرَطَهُ اللَّهُ لِلنِّسَاءِ