Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) reports this saying of the Prophet (peace and blessings be upon him): "In Hell there is a valley from which even Hell seeks refuge four hundred times every day. That valley has been prepared for the people who show off from the Ummah of Sayyiduna Muhammad (peace and blessings be upon him): those who acquire knowledge of the Book of Allah for other than Allah, (or, for other than Allah Almighty,) give charity, perform Hajj of the House of Allah, and (for other than Him) go out in the path of Allah."
Al-Tabarani recorded it from his teacher Yahya bin Abdullah bin Abdawayh, from his father, and I do not know either of them; the rest of its narrators are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17658
Hadith Gradingمحدثین:إسنادہ ضعیف
Hadith Takhrij«اخرجه الطبراني فى المعجم الكبير (128093) اخرجه احمد فى المسند (6509) ، أخرجه المعجم الكبير للطبراني برقم: 12803»