Sahih al-Bukhari #1373
Funerals (Al-Janaa'iz) 23:126
Narrated Asma' bint Abi Bakr:
Allah's Messenger (ﷺ) once stood up delivering a sermon and mentioned the trial which people will face in the grave. When he mentioned that, the Muslims started shouting loudly.