Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) recited, "That Day it (the earth) will reveal its news (about all that happened over it of good or evil)." (99:4). Then he (ﷺ) inquired, "Do you know what its news are?" He was told: "Allah and His Messenger know better". He said, "Its news is that it shall bear witness against every slave man and woman they did on its back. It will say: 'You did this and this on such and such day.' Those will be its news."[At-Tirmidhi]
Arabic/English book reference: Book 1, Hadith 408