He could not even utter a word...
He could not even utter a word, and the audience clearly saw the signs of defeat on his face! Ma’mun broke the silence by saying, “Praise be to Allah who proved me right in my estimation of this young man.” Then he faced the elders of the ‘Abbasids and rebuked them: “Now do you realize what I was saying?” . Then he proposed the marriage of his daughter to the Imam, and the Imam accepted it.
The young Imam also recited the khutba (sermon) before the actual marriage which has become a common khutba in the Shi’a marriage ceremonies. The khutba is as follows: “All praise is due to Allah, in recognition of His blessings. [I declare that) there is no god but Allah, in sincere belief in His oneness. And may Allah send His blessings upon Muhammad, the leader of His creatures, and upon the chosen one of his family.
“It is Allah’s grace upon the people that He has made them free from the forbidden [means of fulfilling sexual urge] by the permissible [institution of marriage].
He, the Exalted, said: ‘And marry the single among you (those who are good ones from among your slaves and maids)—if they are poor, Allah will make them free from need from His grace; Allah, indeed, is Generous, All- Knowing.’” After the marriage ceremony, when only a few people had remained in the gathering, Ma’mun requested the Imam to provide the answer for the various situations that he had derived from Yahya’s single question. The holy Imam gave -a detailed answer to all those situations.
Then Ma’mun proposed that now the Imam should ask a question to Yahya bin Aktham. The latter replied, “If I know the answer, I will reply; otherwise, I will learn from you.” Imam Muhammad at-Taqi (a.s.) asked: “Can you describe the situation in which a man looked at a woman at dawn while it was forbidden (haram) for him to do so; but then at sunrise, it was permissible (halal) for him to look at her?
Then at noon hour, it became haram for him to look at that woman; but in the afternoon, it became permissible for him to look at her? Then at sunset, it became haram for him to look at that woman; but at night, it became halal for him to look at her? Then at midnight, it became haram for him to look at her; but at dawn, it became halal for him to do so?” Yahya bin Aktham said, “By Allah! I do not know the answer to this question.