It wasnarrated that Anas bin Malik said:
"The Messenger of Allah(ﷺ)said: 'The person observing I'tikaf may attend funerals andvisitthe sick.'" (JA)
English reference (JA): Vol. 1, Book 7, Hadith 1777 (JA)
Arabic reference (JA): Book 7, Hadith 1849 (JA)