Sayyiduna Tha'labah bin al-Hakam (may Allah be pleased with him) narrates: The Messenger of Allah (peace and blessings be upon him) said: "Allah, the Mighty and Majestic, will say to the scholars on the Day of Resurrection, when He sits upon His Kursi to judge between His servants: I did not place My knowledge and My wisdom in you except because I wish to forgive you, despite whatever was in you, and I do not mind."
Hadith Referenceالمعجم الكبير للطبراني / باب الثاء / 1368