My father was with Ibn Masud when he heard him say, "I heard the Messenger of Allah ﷺ say, 'Regret is repentance.'"
حدثنا معمر بن سليمان الرقي حدثنا خصيف عن زياد بن أبي مريم
كان أبي عند ابن مسعود فسمعه يقول سمعت رسول الله ﷺ يقول الندم توبة
Its isnad is sahih, and it is a repetition of 4012.