They made for him what he willed of elevated chambers,1 statues,2 bowls like reservoirs, and stationary kettles. [We said], "Work, O family of David, in gratitude." And few of My servants are grateful.
Translation: Saheeh International (English)
1 Described by commentators as palaces, dwellings, or places of prayer.
2 Which were not prohibited until the time of Prophet Muḥammad (ﷺ).
These Jinn constructed for him whatever he wanted from places of worship, palaces, lofty structures. And I said to them: O the family of David! Be grateful for the blessings I have bestowed upon you, because very few of My servants are grateful to Me for the blessings I grant them.