The Messenger of Allah ﷺ said, "Whoever says ten times, 'I bear witness that there is no god but Allah alone, who has no partner, one God, unique, eternal, who has taken neither consort nor child, and to whom none is equal,' Allah will record for him forty million good deeds."
حدثنا قتيبة بن سعيد حدثنا الليث عن الخليل بن مرة عن أزهر بن عبد الله
عن رسول الله ﷺ أنه قال من قال أشهد أن لا إله إلا الله وحده لا شريك له إلها واحدا أحدا صمدا لم يتخذ صاحبة ولا ولدا ولم يكن له كفوا أحد عشر مرات كتب الله له أربعين ألف ألف حسنة
[Its chain is daif]. Ahmad narrated it: 4/103, from the hadith of Layth bin Saad, with the same wording. Khalil bin Murrah is daif, as mentioned previously.