Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) said that the Prophet (peace and blessings be upon him) took a pledge from us just as he took it from the women: "That we would not commit shirk with Allah, steal, commit adultery, kill our children, or backbite one another. Whoever fulfils this pledge, his reward rests with Allah; whoever commits a crime and is punished for it, that is his expiation; and the Muslim whose sin Allah conceals, then if Allah wills He will punish him, or He will forgive him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 21151