Sahih Al Bhukhaari 1435
Narrated Abu Wail: Hudhaifa said, "`Umar said, 'Who amongst you remembers the statement of Allah's Messenger (ﷺ) (p.b.u.h) about afflictions'?' I said, 'I know it as the Prophet (ﷺ) had said it.' `Umar said, 'No doubt, you are bold. How did he say it?' I said, 'A man's afflictions (wrong deeds) concerning his wife, children and neighbors are expiated by (his) prayers, charity, and enjoining good.' (The sub-narrator Sulaiman added that he said, islamicposts 'The prayer, charity, enjoining good and forbidding evil.') `Umar said, 'I did not mean that, but I ask about that affliction which will spread like the waves of the sea.' I said, 'O chief of the believers! You need not be afraid of it as there is a closed door between you and it.' Islamicposts He asked, 'Will the door be broken or opened?' I replied, 'No, it will be broken.' He said, 'Then, if it is broken, it will never be closed again?