I have found no basis for it in this wording. Muslim (8/244) transmitted through Abū Sufyān, from Jābir, who said: “Abd Allāh ibn Ubayy ibn Salūl used to say to a slave woman of his, ‘Go and earn something for us.’ Allah, Mighty and Majestic, then revealed: ‘Do not compel your slave girls into prostitution if they desire chastity, seeking thereby the fleeting gains of worldly life. Whoever compels them, then Allah, after they have been compelled, is (toward them) All-Forgiving, Most Merciful.’ Surah al-Nūr, 33.
Reports on this subject have also been related from a group of the Companions. Al-Suyūtī cited their hadiths in al-Durr al-Manthūr (5/46–47), and in some of their narrations the slave woman is named Muādhah. None of them, however, contains what al-Rāzī reported, which indicates that his report is objectionable and has no basis.
165—(Al-Bukhārī narrated from Saīd ibn Abī al-Hasan, who said: I was with Ibn Abbās when a man came to him and said, “Ibn Abbās, I am a man who earns his living solely by the work of his hands, and I make these images—what should I do?” Ibn Abbās replied, “I shall tell you only what I heard from the Messenger of Allah, peace and blessings be upon him. I heard him say: ‘Whoever makes an image will be punished by Allah until he breathes a soul into it, and he will never be able to do so.’” The man became greatly agitated—that is, he swelled with anger and distress. Ibn Abbās then said, “Woe to you! If you insist on practicing your craft, then depict trees and anything that has no soul.”) p. 132
Authentic. It was previously mentioned under hadith (120). In a version narrated by Muslim and Ahmad (1/308), he said: I heard the Messenger of Allah, peace and blessings be upon him, say: “Every image-maker will be in the Fire. For every image he made, a living being will be created that will torment him in Hell.” Al-Khatīb also narrated it in al-Tārīkh (4/224), in an abbreviated form through the aforementioned chain, with the wording: “Allah will punish the image-makers for what they made.” Its narrators are trustworthy apart from Abū al-Fath Muhammad ibn al-Husayn al-Ādamī, the hadith master, who has some weakness. Nevertheless, the hadith is authentic, corroborated by the report preceding it.