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.
ahmad:4930ʿAbd al-Razzāq > Maʿmar > Ayyūb > Nāfiʿ > Ibn ʿUmar

[Machine] About the Prophet (Peace be upon him), a similar incident happened when Umar asked the Prophet (Peace be upon him).  

أحمد:٤٩٣٠حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا مَعْمَرٌ عَنْ أَيُّوبَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

عَنِ النَّبِيِّ ﷺ مِثْلَهُ أَنَّ عُمَرَ سَأَلَ النَّبِيَّ ﷺ