Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:1394ʿUmar b. Ḥafṣ from my father > al-Aʿmash > ʿAmr b. Murrah > Saʿīd b. Jubayr > Ibn ʿAbbās

Abu Lahab, may Allah curse him, once said to the Prophet ﷺ, "Perish you all the day." Then the Divine Inspiration came: "Perish the hands of Abi Lahab! And perish he!" (111.1).  

البخاري:١٣٩٤حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ حَدَّثَنَا أَبِي حَدَّثَنَا الأَعْمَشُ حَدَّثَنِي عَمْرُو بْنُ مُرَّةَ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ قَالَ

أَبُو لَهَبٍ عَلَيْهِ لَعْنَةُ اللَّهِ لِلنَّبِيِّ ﷺ تَبًّا لَكَ سَائِرَ الْيَوْمِ فَنَزَلَتْ {تَبَّتْ يَدَا أَبِي لَهَبٍ وَتَبَّ}  


See similar narrations below:

Collected by Bukhārī
bukhari:4973ʿUmar b. Ḥafṣ from my father > al-Aʿmash > ʿAmr b. Murrah > Saʿīd b. Jubayr > Ibn ʿAbbās

Abu Lahab said, "May you perish! Is it' for this that you have gathered us?" So there was revealed:'Perish the hands of Abu Lahab'.  

البخاري:٤٩٧٣حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ حَدَّثَنَا أَبِي حَدَّثَنَا الأَعْمَشُ حَدَّثَنِي عَمْرُو بْنُ مُرَّةَ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ

أَبُو لَهَبٍ تَبًّا لَكَ أَلِهَذَا جَمَعْتَنَا فَنَزَلَتْ {تَبَّتْ يَدَا أَبِي لَهَبٍ}