All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, , is His slave and Messenger.
There is no blame on your friend for benefiting from the proceeds of selling children's dolls, and she is not required to get rid of them.
The explanation is that children's toys in the form of living beings are exempted from the forbidden images. The evidence for this is what Al-Bukhari and Muslim recorded in their Sahihs from Aisha,
, who said: "I used to play with dolls in the presence of the Prophet, , and I had [female] friends who played with me. When the Messenger of Allah, , came in, they would hide from him, so he, , would send them to me, and they would play with me."
So, it is permissible to make children's toys in the form of living beings and to sell them. The jurists stated this permission without restriction, and did not stipulate that the buyer must intend them for a small child. An adult may buy them to trade in them or to give them to children. Similarly, it is not necessary that an adult's purchase of these toys is for a forbidden purpose.
Ibn Hajar,
, said: "This hadith is used as evidence for the permissibility of making images of dolls (in the shape of girls) and playing with them, so that girls may play with them. This is considered an exception to the general prohibition against making and keeping images." [End of quote]
Al-Qadi 'Iyad,
, said in Ikmal Al-Mu'lim: "In it is the permissibility of playing with them, and their exemption from the forbidden images because of this hadith, and the scholars have permitted selling them and buying them." [End of quote]
It is stated in the Kuwaiti Encyclopedia of Fiqh: "Most scholars have exempted the making of girls' toys from the prohibition of image-making."
And it is also stated in it: "Images whose production is permissible – such as children's toys – may lawfully be bought and sold, and one may commission their manufacture or hire someone to make them. Their price is lawful, and the wages received for making them are lawful. The same applies to all other forms of transactions involving them." [End of quote]
Lastly, in a sale where the buyer has a forbidden purpose in mind, there is no sin on the seller so long as he does not know the buyer's intention.
Allah Knows best