It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Islam consists of three hundred and thirteen laws; there is not one of them with which its practitioner meets Allah except that he enters Paradise through it."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12929