“وَ” (wa)a joining word meaning “and.” It connects this word to what came before.Corpus grammarCONJ — prefixed conjunction wa (and).
“لِ” (li)means “for / to.” It is a preposition: it links this word to the next word or phrase.Corpus grammarP — prefixed preposition.
“بُيُوتِ” (buyuwti)means “And for their houses” in this verse. It is a noun. a naming word. Here it is masculine — plural, genitive.Corpus grammarN — masculine plural genitive noun.
“هِمْ” (him)an attached pronoun meaning “they” or “them.”Corpus grammarPRON — third person masculine plural attached pronoun.