فَقَالَ لَهُمْ رَسُولُ ٱللَّهِ نَاقَةَ ٱللَّهِ وَسُقْيَـٰهَا
Sentence structure
فَقَالَ is a perfect; رَسُولُ ٱللَّهِ is its subject with a genitive annexation, and لَهُمْ is linked to the verb. نَاقَةَ ٱللَّهِ وَسُقْيَـٰهَا are coordinated accusative warning objects governed by an omitted verb.
Ayah summary
Allah's messenger Salih warned them about Allah's she-camel and her turn to drink.
فَقَالَ — But said
Grammar: فَ is resumptive and قَالَ a third-person masculine-singular perfect whose subject follows. An object/complement is omitted with «قَالَ».
لَهُمْ — to them
Grammar: لِ is a preposition and attached هُمْ a masculine-plural genitive pronoun; the phrase links to قَالَ.
رَسُولُ — (the) Messenger
Grammar: A masculine nominative noun functioning as subject of قَالَ and annexed to the next name.
ٱللَّهِ — (of) Allah
Grammar: A proper noun functioning as the genitive complement of رَسُولُ.
نَاقَةَ — (It is the) she-camel
Grammar: A feminine accusative warning object governed by an omitted verb and annexed to the next name.
ٱللَّهِ — (of) Allah
Grammar: A proper noun functioning as the genitive complement of نَاقَةَ.
وَسُقْيَـٰهَا — and her drink
Grammar: وَ coordinates; سُقْيَا is accusative in position, coordinated with نَاقَةَ, and هَا its possessor.