An-Naml 27:40
Qala allathee AAindahu AAilmunmina alkitabi ana ateeka bihi qabla anyartadda ilayka tarfuka falamma raahumustaqirran AAindahu qala hatha min fadlirabbee liyabluwanee aashkuru am akfuru waman shakara fa-innamayashkuru linafsihi waman kafara fa-inna rabbee ghaniyyun kareem
"Said one who had knowledge from the Scripture, "I will bring it to you before your glance returns to you." And when [Solomon] saw it placed before him, he said, "This is from the favor of my Lord to test me whether I will be grateful or ungrateful. And whoever is grateful - his gratitude is only for [the benefit of] himself. And whoever is ungrateful - then indeed, my Lord is Free of need and Generous.""
An-Naml 27:40, translation by Sahih International
A short reflection
Whoever is grateful is grateful for the benefit of himself. And whoever denies, then my Lord is Free of need, Generous.