Mu'adh b. Anas reported God’s messenger as stating that if anyone eats food and then says, “Praise be to God who has fed me with this food and provided me with it through no might or power on my part,” he will be forgiven his former sins.
Tirmidhi transmitted it, and Abu Dawud added that if anyone puts on a garment and says, “Praise be to God who has clothed me with this and provided me with it through no might or power on my part,” he will be forgiven his former and latter sins.
Abu Sa'id al-Khudri told that when God's messenger put on a new garment he mentioned it by name, turban, shirt, or cloak, and would then say, “O God, praise be to Thee ! As Thou hast clothed me with it, I ask Thee for its good and the good of that for which it was made, and I seek refuge in Thee from its evil and the evil of that for which it was made.”
‘A’isha told that God’s messenger said to her, “If you wish to join me, ‘A’isha, be satisfied with worldly things to the extent of a rider’s provision, avoid sitting with the rich, and do not consider a garment worn out till you patch it.”
Tirmidhi transmitted it saying this is a gharib tradition which he knew only among the traditions of Salih b. Hassan whose traditions are stated by Muhammad b. Isma'il ( i.e. Bukhari) to be rejected.