Ibn Shihab narrates that Ali bin Husayn would not make a child of fornication an heir, even if a man claimed his lineage.