Sunan Abi Dawud, Hadith 462

Ibn 'Umar reported the Messenger of Allah as saying: If we left this door for women (it would have been better). Nafi' said: Ibn 'Umar did not enter (the door) until his death. The other except 'Abd al-Warith said: This was said by 'Umar (and not by Ibn 'Umar) and that is more correct.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عُمَرَ، وَأَبُو مَعْمَرٍ حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا أَيُّوبُ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لَوْ تَرَكْنَا هَذَا الْبَابَ لِلنِّسَاءِ ‏" ‏ ‏.‏ قَالَ نَافِعٌ فَلَمْ يَدْخُلْ مِنْهُ ابْنُ عُمَرَ حَتَّى مَاتَ ‏.‏ وَقَالَ غَيْرُ عَبْدِ الْوَارِثِ قَالَ عُمَرُ وَهُوَ أَصَحُّ ‏.‏

sunnah.com