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.
ibnmajah:1777Aḥmad b. Manṣūr Abū Bakr > Yūnus b. Muḥammad > al-Hayyāj al-Khurāsānī > ʿAnbasah b. ʿAbd al-Raḥman > ʿAbd al-Khāliq > Anas b. Mālik

“The Messenger of Allah ﷺ said: ‘The person observing I’tikaf may attend funerals and visit the sick.’”  

ابن ماجة:١٧٧٧حَدَّثَنَا أَحْمَدُ بْنُ مَنْصُورٍ أَبُو بَكْرٍ حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ حَدَّثَنَا الْهَيَّاجُ الْخُرَاسَانِيُّ حَدَّثَنَا عَنْبَسَةُ بْنُ عَبْدِ الرَّحْمَنِ عَنْ عَبْدِ الْخَالِقِ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ الْمُعْتَكِفُ يَتْبَعُ الْجِنَازَةَ وَيَعُودُ الْمَرِيضَ  


See similar narrations below:

Collected by Suyūṭī