At Tawbah Ayah 50
إِن تُصِبْكَ حَسَنَةٌ تَسُؤْهُمْۖ وَإِن تُصِبْكَ مُصِيبَةٌ يَقُولُواْ قَدْ أَخَذْنَآ أَمْرَنَا مِن قَبْلُ وَيَتَوَلَّواْ وَّهُمْ فَرِحُونَ ٥٠
If a blessing befalls you ?O Prophet?, they grieve, but if a disaster befalls you, they say, “We took our precaution in advance,” and turn away, rejoicing.