Among his writings are: Kitāb al-Uṣūl, Kitāb al-Nahy ʿan al-Munkar (The Forbiddance of Wrong), Kitāb al-Taʿdīl wa al-Tajwīz, Kitāb al-Ijtihād, Kitāb al-Asmāʾ wa al-Ṣifāt (Divine Names and Attributes), Kitāb al-Tafsīr al-Kabīr (The Great Commentary), Kitāb al-Naqd ʿalā Ibn al-Rāwandī (A Critique of Ibn al-Rāwandī), Kitāb al-Radd ʿalā Ibn Kullāb, Kitāb al-Radd ʿalā al-Munajjimīn (A Refutation of the Astrologers), Kitāb Man Yakfir wa Man Lā Yakfir (Who Is to Be Declared an Unbeliever and Who Is Not), Kitāb Sharḥ al-Ḥadīth, and many other works.
It is related that al-Ashʿarī asked Abū ʿAlī: “(Imagine) three brothers—one pious, the second an unbeliever, and the third who died as a child. What is their fate?”
He replied, “The first is in Paradise, the second in Hell, and the child is among the people of safety.”
Al-Ashʿarī said, “Suppose the child wishes to rise to his brother’s (higher) rank?”
He answered, “No, for it will be said to him, ‘Your brother attained that station only by his deeds.’”
Al-Ashʿarī continued, “But if the child objects: ‘Where was my shortcoming? You did not let me live, nor did You enable me to obey.’”
Abū ʿAlī replied, “God will say to him, ‘I knew that, had you lived, you would have disobeyed and deserved punishment; so I took care of your best interest.’”
Al-Ashʿarī then asked, “And if the elder brother were to say, ‘My Lord, just as You knew his state, You knew mine. Why did You look after his welfare but not mine?’”
At that, al-Jubbāʾī was left speechless (1).