وعن عبادة بن الصامت، رضي الله عنه ، قال‏:‏ قال رسول الله، صلى الله عليه وسلم‏:‏ ‏"‏من شهد أن لا إله إلا الله وحده لا شريك له، وأن محمداً عبده ورسوله، وأن عيسى عبد الله ورسوله، وكلمته ألقاها إلى مريم وروح منه، وأن الجنة حق والنار حق، أدخله الله الجنة على ما كان من العمل‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏ وفي رواية لمسلم‏:‏‏"‏من شهد أن لا إله إلا الله، وأن محمداً رسول الله، حرم عليه النار‏"‏‏.‏
Copy
Anas bin Malik (May Allah be pleased with him) reported

A man came to the Prophet (ﷺ) and said, "O Messenger of Allah, I have committed a sin liable of ordained punishment. So execute punishment on me". Messenger of Allah (ﷺ) did not ask him about it, and then came the (time for) Salat (prayers). So he performed Salat with Messenger of Allah (ﷺ). When Messenger of Allah (ﷺ) finished Salat, the man stood up and said: "O Messenger of Allah! I have committed a sin. So execute the Ordinance of Allah upon me". He (ﷺ) asked, "Have you performed Salat with us?" "Yes", he replied. Messenger of Allah (ﷺ) said, "Verily, Allah has forgiven you".[Al-Bukhari and Muslim].