Hadith 10:1075
Abu Bakr narrated to us, he said: Ibn Idris narrated to us, from Ash'ath, from al-Sha'bi, that al-Hasan ibn Ali prayed over a funeral. He said to the husband, regarding a woman who had a child from someone else: "It is not for you to claim a share that is not yours."
حدثنا أبو بكر قال نا بن إدريس عن أشعث عن الشعبي أن الحسن بن علي صلى على جنازة فقال للزوج وللمراة ولد من غيره ليس لك أن تستلحق سهما ليس لك