Ibn Awn (may Allah have mercy on him) narrates: We came to Abu Wa'il (may Allah have mercy on him), and with him was a slave girl named Buraydah. We said: O Buraydah, tell Abu Wa'il to narrate hadith to us. She said: Abu Wa'il, narrate to the people what you heard from Abdullah (may Allah be pleased with him). He said: I heard Sayyiduna Abdullah (may Allah be pleased with him) say: "O people, you will all be gathered on a single plain, where the caller will make you all hear and the sight will see you all. Listen! The wretched one is he who was written as wretched while still in his mother's womb" - the narrator says: I think he also said after it - "and the fortunate one is he who takes admonition from (the end of) others."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 8495