According to Muslim tradition, Waraqah was a Christian convert living in Mecca, who when told of Muhammad's first revelation (when he received the first five verses of surat Al-Alaq) immediately recognised him as a prophet.
According to hadith, Al-Haakim reported with a saheeh (authentic) isnad from Aisha that Muhammad said, "Do not slander Waraqah ibn Nawfal for I have seen that he will have one or two gardens in Paradise."
During the reception of the first revelation, Muhammad was distressed at seeing the vision of an angel. He was consoled by Khadija who took him to Waraqah, who then told Muhammad that the angel he had seen, Gabriel, was the same one God had sent to Moses. Waraqah also told Muhammad that - as had happened to the previous prophets - his people would drive him out into exile, and that (if he lived long enough, for he was old) he would support Muhammad in the cause. However, Waraqah died a few days after this meeting.