NASAI-KUBRA 10382: from Abū Hurayrah —
“The stronger believer is better and more beloved to Allah than the weak believer, although both are good. Strive to seek that which will benefit you and do not feel helpless. If something overwhelms you, then say: Qaddarallah, wa ma sha'a fa’al (It is the decree of Allah and what He wills He does). And beware of (saying) ‘If only,’ for ‘If only’ opens the door to Satan.” (Using translation from Ibn Mājah 4168)

الكبرى للنسائي ١٠٣٨٢: عن ابو هريره —
قَالَ النَّبِيُّ ﷺ الْمُؤْمِنُ الْقَوِيُّ خَيْرٌ وَأَحَبُّ إِلَى اللهِ مِنَ الْمُؤْمِنِ الضَّعِيفِ وَفِي كُلٍّ خَيْرٌ احْرِصْ عَلَى مَا يَنْفَعُكَ وَلَا تَعْجِزْ فَإِنْ غَلَبَكَ أَمْرٌ فَقُلْ قَدَّرَ اللهُ وَمَا شَاءَ وَإِيَّاكَ وَاللَّوْ فَإِنَّ اللَّوْ تَفْتَحُ عَمَلَ الشَّيْطَانِ


No Grade (N/A)
Nasāʾī's Kubrá > Actions to Perform Day and Night > § [Machine] What does he say when he is overwhelmed by a...
hadithunlocked.com