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-9Ziyād > Mālik > Ibn Shihāb

Ziyad related to me from Malik from Ibn Shihab that the Messenger of Allah ﷺ used to go to relieve himself in houses. Malik said, "Someone doing itikaf should not leave for his parents' funeral or for anything else."  

مالك:١٩-٩وَحَدَّثَنِي زِيَادٌ عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يَذْهَبُ لِحَاجَةِ الإِنْسَانِ فِي الْبُيُوتِ قَالَ مَالِكٌ لاَ يَخْرُجُ الْمُعْتَكِفُ مَعَ جَنَازَةِ أَبَوَيْهِ وَلاَ مَعَ غَيْرِهَا