It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "The dead are punished in their graves, to the extent that even the animals hear their voices."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10421