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.
malik:19-5Yaḥyá > Ziyād b. ʿAbd al-Raḥman > Mālik > Suma a freed slave of Abū Bakr b. ʿAbd al-Raḥman

Yahya related to me that Ziyad ibn Abd ar-Rahman said, "Malik related to us from Sumayy, the mawla of Abu Bakr ibn Abd ar-Rahman, that Abu Bakr ibn Abd ar-Rahman was once doing itikaf and he would go out to relieve himself in a closed room under a roofed passage in Khalid ibn Walid's house. Otherwise he did not leave his place of itikaf until he went to pray at the Id with the muslims."  

مالك:١٩-٥حَدَّثَنِي يَحْيَى عَنْ زِيَادِ بْنِ عَبْدِ الرَّحْمَنِ قَالَ حَدَّثَنَا مَالِكٌ عَنْ سُمَىٍّ مَوْلَى أَبِي بَكْرِ بْنِ عَبْدِ الرَّحْمَنِ

أَنَّ أَبَا بَكْرِ بْنَ عَبْدِ الرَّحْمَنِ اعْتَكَفَ فَكَانَ يَذْهَبُ لِحَاجَتِهِ تَحْتَ سَقِيفَةٍ فِي حُجْرَةٍ مُغْلَقَةٍ فِي دَارِ خَالِدِ بْنِ الْوَلِيدِ ثُمَّ لاَ يَرْجِعُ حَتَّى يَشْهَدَ الْعِيدَ مَعَ الْمُسْلِمِينَ