In one narration the words are: "The man was a grave robber, and he was forgiven because of his fear."
Abu Ya'la recorded it with two chains, and the narrators of both are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب التوبة / 17490