Sudden death is a seizure of regret. He once related this from the Prophet ﷺ.
حدثنا يحيى بن سعيد حدثنا شعبة قال حدثني منصور عن تميم بن سلمة أو سعد بن عبيدة
موت الفجأة أخذة أسف وحدث به مرة عن النبي ﷺ
Its isnad is sahih, it was mentioned earlier with its chain and text in 15435.