Sure Al-Anbiyaa

21:84

فَٱسْتَجَبْنَا لَهُۥ فَكَشَفْنَا مَا بِهِۦ مِن ضُرٍّۢ ۖ وَءَاتَيْنَٰهُ أَهْلَهُۥ وَمِثْلَهُم مَّعَهُمْ رَحْمَةًۭ مِّنْ عِندِنَا وَذِكْرَىٰ لِلْعَٰبِدِينَ

Da erhörten Wir ihn und nahmen das Unheil, das auf ihm war, von ihm hinweg, und gaben ihm seine Angehörigen und noch einmal die gleiche Zahl dazu, aus Barmherzigkeit von Uns und als Ermahnung für diejenigen, die (Uns) dienen.

Tafsir 21:84

And so I accepted his prayer and removed the harm that had befallen him; I granted him not just the family he had lost, but also more along with them. I did all that out of My Mercy, and so that it serves as a reminder for each subservient worshipper of Allah, in order that he may bear patience just as Job bore patience.