Ubayd bin Umayr (may Allah have mercy on him) narrates from his father (may Allah be pleased with him), who said: I was with the Prophet (peace and blessings be upon him) during the Farewell Hajj, and I heard him (peace and blessings be upon him) say: "Those who pray are the friends of Allah. Beware! Whoever completes the obligatory prayer, regarding it as a right that Allah has over him, pays the obligatory zakah, fasts Ramadan and avoids the major sins," whereupon a man asked: O Messenger of Allah (peace and blessings be upon him)! What are the major sins? He said: "The major sins are nine: 1. the greatest of them is associating partners with Allah, 2. killing a believing soul, 3. consuming usury (riba), consuming the wealth of the orphan, slandering a chaste woman, fleeing from the battle, disobeying parents, magic, and treating the sanctity of the House of Allah as lawful. Whoever meets Allah free of them will be with me in a Paradise whose door-leaves are of gold."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20752