Ibn Abi Hatim reported, in his Tafsir, on the authority of lbn ‘Abbas Razi Allah anhu who said “Satan said, ‘O Lord, set me up on Ayyub عليه السلام (Prophet Job). ‘ Allah said ‘I have set you up on his wealth and children, but not him’. So, Satan gathered his army and said to them: ‘I have been set up on Ayyub عليه السلام so show me your strength’. He dispatched a group of his demons to Ayyub’s عليه السلام crop and groups to his different livestock, and then he said: ‘Only his patience will safeguard him from you.’ Ayyub عليه السلام was smitten with all sorts of afflictions; be lost all his crop and cattle; so he gathered all his children in the house of the eldest of them, and as they were eating and drinking, a strong wind shook the roof so hard that it collapsed on them. Satan appeared to Ayyub عليه السلام in the image of a young boy who said: ‘O Ayyub عليه السلام did you know that your Lord had gathered all your children in the house of the eldest, and as they were eating and drinking, a strong wind shook the house and the roof collapsed upon them; yoµ should have seen how their blood mixed with their food and drink’.
Ayyub عليه السلام asked him: ‘And where were you? He replied: ‘I was with them Ayyub عليه السلام said: And how did you escape he replied: ‘I escaped’ Ayub عليه السلام said: ‘You are Satan.
Ayyub عليه السلام then said: ‘Today, I am in the image in which I was born.’ He went and shaved his head, then performed Salat.
Consequently, Satan made a scream which was heard in the heavens and earth, then he faced the sky and said: ‘O Lord, he has sought protection in Salat; would You set me up on him, because I am unable to overpower him except with your Might.
The Lord said to him: ‘I have set you up on his body, but not up on his heart.’
So Satan went down and blew under the feet of Ayyub until they were so swollen, which left him disabled. His wife who was nursing him; reminded him about the change of his condition when the Divine Decree fell upon him; but he said to her: ‘We were enjoying our life in good grace for seventy years, so be patient to survive the bad days for another seventy’. His tribulation lasted seven years.
And [mention] Job, when he called to his Lord, “Indeed, adversity has touched me, and you are the Most Merciful of the merciful.” .So We responded to him and removed what afflicted him of adversity. And We gave him [back] his family and the like thereof with them as mercy from Us and a reminder for the worshippers [of Allah[Surah Ambiya 83 ]