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: "(The tribe of) Aslam, Allah has granted it safety; and (the tribe of) Ghifar, Allah has forgiven it."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11861