It is narrated with the same chain that the Noble Prophet (peace and blessings of Allah be upon him) said: Allah Almighty is protective, and Allah’s protectiveness is that a person should not go near the things that Allah has forbidden.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9028