I heard Allah's Messenger (ﷺ) saying, "The rights of a Muslim on the Muslims are five: to…

Sahih al-Bukhari Book 23 Hadith 4

Sahih al-Bukhari #1240

Funerals (Al-Janaa'iz) 23:4

Narrated Abu Huraira:

I heard Allah's Messenger (ﷺ) saying, "The rights of a Muslim on the Muslims are five: to respond to the salaam, visiting the sick, to follow the funeral processions, to accept an invitation, and to reply to those who sneeze. (see Hadith 1239)

Chapter: The order of following the funeral procession

Grade: Sahih