It is narrated from Abu al-Gharif (may Allah have mercy on him) that water for ablution was brought to Sayyiduna Ali (may Allah be pleased with him) (and he then described the method of ablution) until he said: "I saw the Messenger of Allah (peace and blessings be upon him) perform ablution in this way." Then he recited some of the Noble Qur'an and said: "This (recitation) is for one who is not junub (in a state of major ritual impurity); as for one who is junub, then (recitation is) not (permitted) for him, not even a single verse."
I say: Imam al-Bayhaqi (may Allah have mercy on him) narrated it in his al-Sunan al-Kubra by way of al-Hasan bin Hayy, Amir bin al-Simt and Abu al-Gharif, from Sayyiduna Ali (may Allah be pleased with him), that "a person who is junub is not to recite even a single letter."
Imam al-Bayhaqi (may Allah have mercy on him) said that Abu Ishaq narrated by way of al-Harith from Sayyiduna Ali (may Allah be pleased with him) that he (may Allah be pleased with him) said: "Recite the Noble Qur'an in every state as long as you are not junub."
Imam al-Bayhaqi (may Allah have mercy on him) said that this is also the view of al-Hasan, al-Nakha'i, Ibrahim and Qatadah (may Allah have mercy on them).
It is narrated from a Companion of the Messenger (may Allah be pleased with him) who saw the Prophet (peace and blessings be upon him) that "he (peace and blessings be upon him) relieved himself, then recited a few verses of the Noble Qur'an before touching water (that is, before performing ablution)."