Everyone hears the torment of the graves except people and genies
The Messenger of Allah, peace and blessings of Allah be upon him, said:
Seek refuge in Allah from the torment of the grave! (Umm Mubashshir) said: “I asked: “O Messenger of Allah, are they tortured in their graves?!” He replied: “Yes! The torment that the animals hear
“al-Silsila as-sahiha” (3/429)
Sheikh-ul Islam Ibn Taymiyya رحمـہ اللـہ تعالـﮯ said if the horses had a stomach ache: take her to the graves of the Rafidah, or to the graves of the Jews, and they took her away and she heard the voices of the tormented, and fell into horror, and from great fear she got diarrhea, and it was a cure for her.
499-500 /3