The Islamic version is a bit different than what jdm mentioned.
Ismail was not the destroyer of idolatry.
Abraham (Ibrahim) destoryed the pagan temples alone when he was young and before he had childern.
There was no mention of him and Ismail using the axes.
Ismail was the one to be sacrificed instead of Isaac.
The islamic version doesnt have much of a chosen one and an outcast. Both Isaac and Ismail were prophets that served two different regions.
The reference of Abraham story destorying the idols
is in quran chapter 21 verse 51 to 70.
verse 58
“So he broke them into pieces, except the chief of them, that haply they may return to it.”
Then in verse 72; it menions Isaac and Jacob as Abraham sons then Ismail in a later verse 85.
Isaac is considered the older son of abraham from Sara, then Ismail comes after.