Question:
What is the ruling on one who denies a prophet?
Answer:
Denying anyone whose prophethood is known is disbelief (kufr) and apostasy (irtidad).
❀ Shaykh al-Islam Ibn Taymiyyah (may Allah have mercy on him)
Reference: (728 AH)
says:
اتفق المسلمون على أن من كذب نبيا معلوم النبوة فهو كافر مرتد.
The Muslims are agreed that whoever denies a prophet whose prophethood is certain is a disbeliever and an apostate.
Reference: (Al-Jawab al-Sahih: 344/2)