from by the Prophet ﷺ, he said, "Whoever says before leaving and getting up from the Maghrib and Fajr prayers:
lā ilāha illā Allāhu, waḥdahū, lā sharīka lahū, lahū al-mulku, wa-lahū al-ḥamdu, bi-yadihī al-khayr, yuḥyī wa-yumītu, wa-huwa ʿalā kulli shayʾin qadīr
(There is no god but Allah, alone, without partners. Him is the sovereignty and to Him is the praise. In His hand is all good. He gives life and He gives death, and He has Power over everything.)
... ten times: (1) ten good deeds will be recorded for him, and (2) ten bad deeds will be erased from him, and (3) he will be raised ten degrees, and (4) it will also be a protection for him against every disliked thing, and (5) a protection from the accursed Satan, and (6) no sin will reach him except shirk (associating partners with Allah), and (7) he will be among the best of people in terms of deeds, except for a person who does better than him in what he says."
عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ: «مَنْ قَالَ قَبْلَ أَنْ يَنْصَرِفَ وَيَثْنِيَ رِجْلَهُ مِنْ صَلَاةِ الْمَغْرِبِ وَالصُّبْحِ:
(لَا إِلَهَ إِلَّا اللهُ وَحْدَهُ لَا شَرِيكَ لَهُ لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ بِيَدِهِ الْخَيْرُ يُحْيِي وَيُمِيتُ وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ)
۔۔۔ عَشْرَ مَرَّاتٍ (١) كُتِبَ لَهُ بِكُلِّ وَاحِدَةٍ عَشْرُ حَسَنَاتٍ، (٢) وَمُحِيَتْ عَنْهُ عَشْرُ سَيِّئَاتٍ، (٣) وَرُفِعَ لَهُ عَشْرُ دَرَجَاتٍ، (٤) وَكَانَتْ حِرْزًا مِنْ كُلِّ مَكْرُوهٍ، (٥) وَحِرْزًا مِنَ الشَّيْطَانِ الرَّجِيمِ، (٦) وَلَمْ يَحِلَّ لِذَنْبٍ يُدْرِكُهُ إِلَّا الشِّرْكَ، (٧) وَكَانَ مِنْ أَفْضَلِ النَّاسِ عَمَلًا إِلَّا رَجُلًا يَفْضُلُهُ يَقُولُ أَفْضَلَ مِمَّا قَالَ۔»