It has been related that the Messenger of Allah (may Allah bless him and grant him and his family peace) said:
A group of the people of Paradise will get worried about some of the people of Hell, and will (therefore) inquire:
“Why are you in Hell? By God, we did not enter Paradise except through what we learned from you.”
The Hell-bound will reply: “We did not practice what we preached.” (literally: we spoke but did not act).
– Nahj al-Fasahah (hadith #70)


