فَمَن شَآءَ ذَكَرَهُۥ
Sentence structure
مَن introduces a condition, شَآءَ is its verb, and ذَكَرَهُۥ is the answer; its attached pronoun is the object.
Ayah summary
Whoever seeks benefit may take heed of this reminder.
فَمَن — So whosoever
Grammar: فَ is a resumption particle. مَن is a conditional pronoun.
شَآءَ — wills
Grammar: third-person masculine singular perfect verb; it functions as the condition clause.
ذَكَرَهُۥ — may remember it
Grammar: third-person masculine singular perfect verb; it functions as the answer to the condition. Attached هُۥ is a third-person masculine singular pronoun functioning as the object.