When Abbas bin Abdul-Muttalib was taken captive on the day of Badr, he said, "Even if you have outstripped us in Islam, in emigration, and in jihad, we for our part used to tend Masjid al-Haram, give the pilgrims water to drink, and free the captive."So Allah revealed, "Do you regard giving water to the pilgrims and the tending of Masjid al-Haram as equal to the deed of one who believes in Allah and the Last Day and strives in the way of Allah? They are not equal in the sight of Allah, and Allah does not guide the wrongdoing people" [Tawbah 9:19], meaning that all of that was done while they were in shirk, and I do not accept what was done in shirk.
في قوله عزوجل: {أجعلتم سقاية الحاج وعمارة المسجد الحرام كمن ءامن بالله واليوم الآخر}
العباس بن عبد المطلب حين أسر يوم بدر: لئن كنتم سبقتمونا بالإسلام والهجرة والجهاد، لقد كنا نعمر المسجد الحرام ونسقي الحاج، ونفك العاني، قال: فأنزل الله: {أجعلتم سقاية الحاج وعمارة المسجد الحرام كمن آمن بالله واليوم الآخر وجهد في سبيل الله لا يستوون عند الله والله لا يهدي القوم الظالمين}، يعني أن ذلك كان في الشرك، ولا أقبل ما كان في الشرك.
No references are available.
Tabari narrated it in his Tafsir (11/378), and Ibn Abu Hatim narrated it in his Tafsir (6/1768), both of them through Abdullah bin Salih Abu Salih, the scribe of Layth, who said, Muawiya bin Salih told me, from Ali bin Abu Talha, from Ibn Abbas, and he mentioned it.Its chain is hasan because of Ali bin Abu Talha. Although he transmits from Ibn Abbas through an intermediary without naming him directly, the intermediary is known, and he is truthful. Likewise, Abdullah bin Salih is hasan al-hadith.