Ayyub lost his health, wealth and children and endured years of illness with patience.
Qur'an: 'And Ayyub, when he called to his Lord: Indeed, adversity has touched me, and You are the Most Merciful of the merciful' (21:83).
Scholars: Classical reports say his trial lasted many years and only his wife stayed with him. He did not ask Allah to remove the trial; he only mentioned his need and Allah's mercy. (Ref: Ibn Kathir, Qisas al-Anbiya' (Ayyub))