It is narrated from Sayyiduna Hudhayfah (may Allah be pleased with him) that he said: "Islam has eight shares: the testimony of Islam is a share, prayer is a share, zakah is a share, Hajj is a share, fasting in Ramadan is a share, enjoining good is a share, forbidding evil is a share and striving (jihad) in the way of Allah is a share; and the one who has no share in them has failed and lost."
Imam al-Bazzar (may Allah have mercy on him) recorded it in his Musnad as mawquf.
This chain is sahih (authentic) as mawquf. Although the narrator Abu Ishaq Amr bin Abdullah (may Allah have mercy on him) suffered a change of memory at the end of his life, Shu'bah (may Allah have mercy on him) narrated from him before the deterioration (ikhtilat), and it is through this route that the two Shaykhs took hadith from him in their two Sahihs.
Also, through another chain, Sayyiduna Hudhayfah (may Allah be pleased with him) narrated from the Prophet (peace and blessings be upon him) that he (peace and blessings be upon him) said: "Islam has eight shares" (and he narrated the hadith to the end).
Imam al-Bazzar (may Allah have mercy on him) said that no one narrated this report as marfu' except Yazid bin Ata' al-Yashkuri.
I (al-Busiri) say: The statements of Imam Ahmad bin Hanbal (may Allah have mercy on him) about Yazid bin Ata' al-Yashkuri differ, while Imam Ibn Ma'in and Imam al-Nasa'i (may Allah have mercy on them both) declared him da'if (weak). Imam Ibn Hibban (may Allah have mercy on him) said that his memory was poor, he used to reverse chains and attribute to trustworthy narrators things that are not among the hadith of reliable narrators, so it is not permissible to use him as evidence.
According to Imam al-Daraqutni (may Allah have mercy on him) and other imams, the correct view is that this report is mawquf (the saying of a Companion).