It is in reference to the same Waleed bin Mugheerah that Allah Ta‘ala revealed the following verses of Surah Muddatthir:
ذَرۡنِیۡ وَ مَنۡ خَلَقۡتُ وَحِیۡدًا ﴿ۙ۱۱﴾ وَّ جَعَلۡتُ لَہٗ مَالًا مَّمۡدُوۡدًا ﴿ۙ۱۲﴾ وَّ بَنِیۡنَ شُہُوۡدًا ﴿ۙ۱۳﴾ وَّ مَہَّدۡتُّ لَہٗ تَمۡہِیۡدًا ﴿ۙ۱۴﴾ ثُمَّ یَطۡمَعُ اَنۡ اَزِیۡدَ ﴿٭ۙ۱۵﴾ کَلَّا ؕ اِنَّہٗ کَانَ لِاٰیٰتِنَا عَنِیۡدًا ﴿ؕ۱۶﴾ سَاُرۡہِقُہٗ صَعُوۡدًا ﴿ؕ۱۷﴾ اِنَّہٗ فَکَّرَ وَ قَدَّرَ ﴿ۙ۱۸﴾ فَقُتِلَ کَیۡفَ قَدَّرَ ﴿ۙ۱۹﴾ ثُمَّ قُتِلَ کَیۡفَ قَدَّرَ ﴿ۙ۲۰﴾ ثُمَّ نَظَرَ ﴿ۙ۲۱﴾ ثُمَّ عَبَسَ وَ بَسَرَ ﴿ۙ۲۲﴾ ثُمَّ اَدۡبَرَ وَ اسۡتَکۡبَرَ ﴿ۙ۲۳﴾ فَقَالَ اِنۡ ہٰذَاۤ اِلَّا سِحۡرٌ یُّؤۡثَرُ ﴿ۙ۲۴﴾ اِنۡ ہٰذَاۤ اِلَّا قَوۡلُ الۡبَشَرِ ﴿ؕ۲۵﴾ سَاُصۡلِیۡہِ سَقَرَ ﴿۲۶﴾
And leave Me and the one whom I had created alone (do not be concerned, I will personally deal with him). It is I who granted him abundant wealth and sons who are present (in his gatherings), and I made life smooth and comfortable for him (by bestowing upon him worldly honor). Then (in spite of all of this) he desires that I bestow him with more. Never! He has been opposed to our signs (verses or proofs). I will compel him to climb a mountain of Jahannum named Sa‘ood (and then hurl him down repeatedly). Verily he deliberated and plotted. So let him be cursed. How he plotted! And again let him be cursed. How he plotted! Then he glanced about. Then he scowled and assumed a furious countenance. Then he turned away and displayed arrogance and said, “This (Qur’aan) is nothing but sorcery that is being transmitted (through the generations). This is nothing but the word of a human being.” (Allah Ta‘ala says,) I will soon cast him into the fire of Jahannum… (Surah Muddatthir v. 11-26)
According to one narration, Rasulullah (sallallahu ‘alaihi wasallam) had recited before him the following verses that are the synopsis of good character:
اِنَّ اللّٰہَ یَاۡمُرُ بِالۡعَدۡلِ وَ الۡاِحۡسَانِ وَ اِیۡتَآیِٔ ذِی الۡقُرۡبٰی وَ یَنۡہٰی عَنِ الۡفَحۡشَآءِ وَ الۡمُنۡکَرِ وَ الۡبَغۡیِ ۚ یَعِظُکُمۡ لَعَلَّکُمۡ تَذَکَّرُوۡنَ ﴿۹۰﴾
Verily Allah Ta‘ala decrees justice, kindness and giving to the relatives, and He prohibits immodesty and immorality, evil deeds and oppression. He advises you that you may take heed. (Surah Nahl v. 90)
(Extracted from Seeratul Mustafa 1/181-182)