يُدْخِلُ مَن يَشَآءُ فِى رَحْمَتِهِۦ ۚ وَٱلظَّـٰلِمِينَ أَعَدَّ لَهُمْ عَذَابًا أَلِيمًۢا Qur’an Al-Insan (76:31)Yudkhilu man yashao fee rahmatihi waalththalimeena aAAadda lahum AAathaban aleeman
Or: "whomever He wills" - either of these two formulations being syntactically justified.
That is according to His just and wise Plan. If the will is right, it obtains Allah's Grace and Mercy. If the will of man rejects Allah, man must suffer the Penalty.