ذَٰلِكَ ٱلْيَوْمُ ٱلْحَقُّ ۖ فَمَن شَآءَ ٱتَّخَذَ إِلَىٰ رَبِّهِۦ مَـَٔابًا
Sentence structure
The first nominal sentence declares that this is the true Day. The second is conditional: whoever wills may take a path of return to his Lord.
ذَٰلِكَ — that
Grammar: An invariable masculine singular demonstrative pronoun functioning as the subject of the nominal sentence.
ٱلْيَوْمُ — is the Day
Grammar: A definite masculine nominative noun and the predicate of ذَٰلِكَ.
ٱلْحَقُّ ۖ — the true
Grammar: A definite masculine nominative noun in apposition to ٱلْيَوْمُ.
فَمَن — so whoever
Grammar: فَ resumes the conclusion. مَن is an invariable conditional noun.
شَآءَ — wills
Grammar: A third-person masculine singular perfect verb forming the condition; its subject is the understood هُوَ.
ٱتَّخَذَ — may take
Grammar: A form VIII, third-person masculine singular perfect verb forming the result of the condition; its subject is the understood هُوَ.
إِلَىٰ — towards
Grammar: A preposition linked to ٱتَّخَذَ.
رَبِّهِۦ — his Lord
Grammar: رَبِّ is genitive after إِلَىٰ. The attached هِۦ is a third-person masculine singular possessive pronoun in the genitive position.
مَـَٔابًا — a return
Grammar: An indefinite masculine accusative noun and the object of ٱتَّخَذَ.