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