Narrated by Sayyiduna Ibn Abbas (may Allah be pleased with them both): The Messenger of Allah (peace and blessings be upon him) passed by two graves and said: "They are being punished, and they are not being punished for a major sin." Then he said: "Yes, one of them..." The narrator mentioned the rest of the hadith similar to the previous narration.
Hadith Referenceمسند اسحاق بن راهويه / كتاب الطهارة / 117