It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) saying: "By the One in Whose Hand is my soul! If you were to commit so many errors that they filled the space between the heaven and the earth, and then you sought forgiveness from Allah, He would surely forgive you. And by the One in Whose Hand is the soul of Muhammad (peace and blessings be upon him)! If you did not sin, Allah Almighty would bring a people who would sin and then seek forgiveness from Allah, and Allah would forgive them."
Abu Ya'la al-Mawsili and Ahmad bin Hanbal recorded this hadith (its chain contains Abd al-Mu'min bin Ubaydullah al-Sadusi, and I have not found anyone who mentioned him with either a declaration of reliability or a criticism), while the rest of its narrators are thiqat (trustworthy). Al-Tirmidhi recorded it through other routes and with different wording and declared it hasan (good). The origin of this hadith is in Sahih Muslim and elsewhere from the narration of Sayyiduna Abu Hurayrah (may Allah be pleased with him). Ahmad bin Hanbal also recorded it from the hadith of Sayyiduna Ibn Abbas (may Allah be pleased with them both), and al-Bazzar from the hadith of Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) and Sayyiduna Abdullah bin Amr (may Allah be pleased with them both).
Hadith Takhrij«رواه أبو يعلى الموصلي وأحمد بن حنبل بسند (فيه عبد المؤمن بن عبيد الله السدوسي، ولم أر من ذكره بعدالة ولا جرح) وباقي رواته ثقات» «أخرجه مسند أحمد برقم: 13081، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 17624، وأخرجه الأحاديث المختارة برقم: 1544، 1545»