Abdullah bin Abbas reported,

One day the Prophet ﷺ climbed Safa and called out, "Come quickly!" The Quraysh gathered around him and asked, "What is the matter with you?"He said, "Tell me, if I informed you that an enemy was about to attack you in the morning or in the evening, would you not believe me?"They replied, "Of course we would."He said, "Then I am a warner to you of a severe punishment that lies ahead."Abu Lahab said, "May you perish! Is this why you gathered us?"So Allah revealed, "Perish the hands of Abu Lahab" [Masad 111:1].

Bukhari 4801

Sahih

حدثنا علي بن عبد الله حدثنا محمد بن خازم حدثنا الأعمش عن عمرو بن مرة عن سعيد بن جبير

عن ابن عباس رضي الله عنهما قال

صعد النبي ﷺ الصفا ذات يوم فقال يا صباحاه فاجتمعت إليه قريش قالوا ما لك قال أرأيتم لو أخبرتكم أن العدو يصبحكم أو يمسيكم أما كنتم تصدقوني قالوا بلى قال فإني نذير لكم بين يدي عذاب شديد فقال أبو لهب تبا لك ألهذا جمعتنا فأنزل الله {تبت يدا أبي لهب}

البخاري 4801صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "He is only a warner to you before a severe punishment"
Numbering
Darussalam 4801
Bukhari 4801