It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Indeed Allah Almighty said: 'I created both good and evil. So glad tidings to the one at whose hands I set good in motion, and woe to the one at whose hands I set evil in motion.'"
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12742