Jabir b. ‘Atik reported God’s prophet as saying, ‘‘There is jealousy which God loves and jealousy which God hates. That which He loves is jealousy regarding a matter of doubt, and that which He hates is jealousy regarding something which is not doubtful. There is pride which God hates and pride which God loves. That which He loves is a man’s pride when fighting and when giving sadaqa, and that which God hates is pride shown by boasting.” A version has “by oppression.”
Narrated ‘Amr b. Shu'aib, on his father’s authority, told of his grandfather saying:
The Prophet decided regarding one who is treated as a member of a family after the death of his father to whom he is attributed when the heirs say he is one of them, that if he is the child of a slave woman whom the father owned when he had intercourse with her he is included among those who seek his inclusion, but gets none of the inheritance which was previously divided;* he however gets his portion of the inheritance which has not already been divided, but if the father to whom he is attributed had disowned him he is not joined to the heirs. If he is the child of a slave woman whom the father did not possess or of a freewoman with whom he had illicit intercourse, he is not joined to the heirs and does not inherit even if the one to whom he is attributed is the one who claims paternity, for he is a child of fornication whether his mother was free or a slave.
Abu Dawud transmitted it.
*Mirqat 3:506 explains this as a reference to what had happened in the pre-Islamic period.
‘Amr b. Shu'aib, on his father’s authority, said that his grandfather told of a man who got up and said, “Messenger of God, so and so is my son; I had illicit intercourse with his mother in the pre-Islamic period.” God’s Messenger replied, “There is no unlawful claiming of paternity in Islam. What was done in pre-Islamic times has been annulled. The child is attributed to the one on whose bed it is born, and the fornicator is deprived of any right.”
Ibn ‘Abbas told of a man coming to the Prophet and saying, “I have a wife who rejects no one who wishes intercourse with her,” but when he told him to divorce her he replied that he loved her, so he told him that in that case he should keep her.
Abu Dawud and Nasa’i transmitted it, Nasa’i saying that one of the transmitters traced it to Ibn ‘Abbas and that one did not, adding that this tradition is not well established.