Abu al-Tufayl said: I heard Ibn Mas'ud saying: The wretched one is he who was decreed wretched in his mother's womb, and the fortunate one is he who takes admonition from the state of others. So I went to Hudhayfah and told him what Ibn Mas'ud had said, and he said: "O Ibn Wathilah, what is there in this to deny? I myself heard the Messenger of Allah (peace and blessings be upon him) say it."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3032