لِمَن شَآءَ مِنكُمْ أَن يَسْتَقِيمَ
Sentence structure
لِمَن is a prepositional relative phrase, شَآءَ its relative clause, and أَن يَسْتَقِيمَ the infinitival object of willing; يَسْتَقِيمَ is subjunctive after أَن.
Ayah summary
This reminder benefits whoever sincerely wishes to follow the straight path.
لِمَن — For whoever
Grammar: لِ is a preposition and relative مَن is genitive; the phrase is appositional to the preceding beneficiaries.
شَآءَ — wills
Grammar: third-person masculine singular perfect verb; it functions as the relative clause.
مِنكُمْ — among you
Grammar: مِنْ is a preposition and attached كُمْ its genitive pronoun; the phrase qualifies مَن.
أَن — to
Grammar: أَن is an infinitival particle that makes the following imperfect subjunctive; the full clause أَن يَسْتَقِيمَ forms the object of شَآءَ.
يَسْتَقِيمَ — take a straight way
Grammar: A Form X active imperfect, third-person masculine singular, subjunctive after أَن.