It is narrated from Mahan (may Allah have mercy on him): "A group came to the Prophet (peace and blessings be upon him) and said: 'We have committed great sins.' The narrator said: I do not think that he (peace and blessings be upon him) gave them any reply (immediately). Then, when they turned their backs to leave, this blessed verse was revealed: 'And when those who believe in Our verses come to you, say: Peace be upon you. Your Lord has decreed mercy upon Himself: that whoever of you does evil out of ignorance (and then repents and reforms, then Allah is Forgiving).' So he (peace and blessings be upon him) called them back and recited this verse to them."
This chain is da'if (weak) because some of its narrators are unknown (majhul).