Quraysh said to the Prophet ﷺ, "Ask your Lord to turn Mount Safa into gold for us, and we will believe in you."He asked, "Will you really do that?"They replied, "Yes."So he prayed, and Jibreel came to him and said, "Your Lord sends you peace and says to you, 'If you wish, I will turn Safa into gold for them, but whoever among them disbelieves after that, I will punish him with a punishment such as I have inflicted on no one in all the worlds. Or if you wish, I will open for them the door of repentance and mercy.'"He said, "Rather, the door of repentance and mercy."
قالت قريش للنبي ﷺ: ادع لنا ربك أن يجعل لنا الصفا ذهبا، ونؤمن بك. قال: وتفعلون؟ قالوا: نعم، قال: فدعا، فأتاه جبريل، فقال: إن ربك يقرأ عليك السلام، ويقول لك: إن شئت أصبح لهم الصفا ذهبا، فمن كفر بعد ذلك منهم عذبته عذابا لا أعذبه أحدا من العالمين، وإن شئت فتحت لهم باب التوبة والرحمة. قال: بل باب التوبة والرحمة.
Imam Ahmad (3223, 2166), Bazzar in Kashf Astar (2224), Tabarani in Al-Kabir (12736), Hakim (1/53), and Bayhaqi in Dalail (2/272) all reported it through the route of Sufyan Thawri, from Salama bin Kuhayl, from Imran bin Hakam, from Ibn Abbas, who related it. Its chain of transmission is sahih.Hakim said, "This is a preserved hadith from the hadith of Thawri, from Salama bin Kuhayl."