Sa'di said this quote

To give pleasure to a single heart by a single kind act is better than a thousand head-bowings in prayer.