Sahih Muslim 1656 c
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
اذْهَبْ فَاعْتَكِفْ يَوْمًا "
Abdullah b. 'Umar reported that 'Umar b. Khattab asked the Messenger of Allah (ﷺ) as he was at ji'rana (a town near Mecca) on his way back from Ta'if:
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 Allah's Messenger (ﷺ) gave him a slave girl out of the one-fifth (of the spoils of war meant for the Holy Prophet). And when Allah's Messenger (iﷺ) set the war prisoners free. 'Umar b. Khattab heard their voice as they were saying: Allah's Messenger (ﷺ) has set as free. He (Hadrat 'Umar) said: What is this? They said: Allah's Messenger (ﷺ) 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.
Full reference and source
Sahih Muslim 1656 c In-book : Book 27, Hadith 42 USC-MSA web (English) : Book 15, Hadith 4074 (deprecated)
View source on Sunnah.com (opens in a new tab)