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.
muslim:1656cAbū al-Ṭāhir > ʿAbdullāh b. Wahb > Jarīr b. Ḥāzim > Ayyūb > Nāfiʿ > ʿAbdullāh b. ʿUmar

Messenger of Allah, I had taken a vow during the days of Ignorance that I would observe I'tikaf for one day in the Sacred Mosque. So what is your opinion? He said: Go and observe I'tikaf for a day. And Messenger of Allah ﷺ gave him a slave girl out of the one-fifth (of the spoils of war meant for the Holy Prophet). And when Messenger of Allah (inay peace be upon him) set the war prisoners free. 'Umar b. Khattab heard their voice as they were saying: Messenger of Allah ﷺ has set as free. He (Hadrat 'Umar) said: What is this? They said: Messenger of Allah ﷺ has set free the prisoners of war (which had fallen to the lot of people). Thereupon he (Hadrat 'Umar) said: Abdullah, go to that slave-girl and set her free.  

مسلم:١٦٥٦cوَحَدَّثَنِي أَبُو الطَّاهِرِ أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ حَدَّثَنَا جَرِيرُ بْنُ حَازِمٍ أَنَّ أَيُّوبَ حَدَّثَهُ أَنَّ نَافِعًا حَدَّثَهُ أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ حَدَّثَهُ

أَنَّ عُمَرَ بْنَ الْخَطَّابِ سَأَلَ رَسُولَ اللَّهِ ﷺ وَهُوَ بِالْجِعْرَانَةِ بَعْدَ أَنْ رَجَعَ مِنَ الطَّائِفِ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي نَذَرْتُ فِي الْجَاهِلِيَّةِ أَنْ أَعْتَكِفَ يَوْمًا فِي الْمَسْجِدِ الْحَرَامِ فَكَيْفَ تَرَى قَالَ اذْهَبْ فَاعْتَكِفْ يَوْمًا قَالَ وَكَانَ رَسُولُ اللَّهِ ﷺ قَدْ أَعْطَاهُ جَارِيَةً مِنَ الْخُمْسِ فَلَمَّا أَعْتَقَ رَسُولُ اللَّهِ ﷺ سَبَايَا النَّاسِ سَمِعَ عُمَرُ بْنُ الْخَطَّابِ أَصْوَاتَهُمْ يَقُولُونَ أَعْتَقَنَا رَسُولُ اللَّهِ ﷺ فَقَالَ مَا هَذَا فَقَالُوا أَعْتَقَ رَسُولُ اللَّهِ ﷺ سَبَايَا النَّاسِ فَقَالَ عُمَرُ يَا عَبْدَ اللَّهِ اذْهَبْ إِلَى تِلْكَ الْجَارِيَةِ فَخَلِّ سَبِيلَهَا  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:12937Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Walīd > al-Ḥasan b. Sufyān > Abū al-Ṭāhir > Ibn Wahb > Jarīr b. Ḥāzim > Ayyūb > Nāfiʿ > ʿAbdullāh b. ʿUmar > ʿUmar

Messenger of Allah, I had taken a vow during the days of Ignorance that I would observe I'tikaf for one day in the Sacred Mosque. So what is your opinion? He said: Go and observe I'tikaf for a day. And Messenger of Allah ﷺ gave him a slave girl out of the one-fifth (of the spoils of war meant for the Holy Prophet). And when Messenger of Allah (inay peace be upon him) set the war prisoners free. 'Umar b. Khattab heard their voice as they were saying: Messenger of Allah ﷺ has set as free. He (Hadrat 'Umar) said: What is this? They said: Messenger of Allah ﷺ has set free the prisoners of war (which had fallen to the lot of people). Thereupon he (Hadrat 'Umar) said: Abdullah, go to that slave-girl and set her free. (Using translation from Muslim 1656c)   

البيهقي:١٢٩٣٧أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو الْوَلِيدِ ثنا الْحَسَنُ بْنُ سُفْيَانَ ثنا أَبُو الطَّاهِرِ ثنا ابْنُ وَهْبٍ ثنا جَرِيرُ بْنُ حَازِمٍ أَنَّ أَيُّوبَ حَدَّثَهُ أَنَّ نَافِعًا حَدَّثَهُ أَنَّ عَبْدَ اللهِ بْنَ عُمَرَ حَدَّثَهُ

أَنَّ عُمَرَ بْنَ الْخَطَّابِ ؓ سَأَلَ رَسُولَ اللهِ ﷺ وَهُوَ بِالْجِعْرَانَةِ بَعْدَ أَنْ رَجَعَ مِنَ الطَّائِفِ فَقَالَ يَا رَسُولَ اللهِ إِنِّي نَذَرْتُ فِي الْجَاهِلِيَّةِ أَنْ أَعْتَكِفَ يَوْمًا فِي الْمَسْجِدِ الْحَرَامِ فَكَيْفَ تَرَى؟ قَالَ اذْهَبْ فَاعْتَكِفْ يَوْمًا وَكَانَ رَسُولُ اللهِ ﷺ قَدْ أَعْطَاهُ جَارِيَةً مِنَ الْخُمُسِ فَلَمَّا أَعْتَقَ رَسُولُ اللهِ ﷺ سَبَايَا النَّاسِ فَقَالَ عُمَرُ يَا عَبْدَ اللهِ اذْهَبْ إِلَى تِلْكَ الْجَارِيَةِ فَخَلِّ سَبِيلَهَا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي الطَّاهِرِ وَاسْتَشْهَدَ بِهِ الْبُخَارِيُّ