Ref. No. 1395/42-820
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
Denial of absolute hadith leads to disbelief. So, it will be necessary to make up for salah after renewal of faith. If one denies the credibility of the hadith available in the books, it leads to sin and wickedness and it requires making up for the salah missed and does not require making up for the salah that were offered.
(وإن) أنكر بعض ما علم من الدين ضرورة (كفر بها) كقوله إن الله تعالى جسم كالأجسام وإنكاره صحبة الصديق (شامی، باب الامامۃ 1/561) وقد صرح بعض المحققين من الشافعية بأن من أنكر مشروعية السنن الراتبة أو صلاة العيدين يكفر لأنها معلومة من الدين بالضرورة وسيأتي في سنن الفجر أنه يخشى الكفر على منكرها. (شامی، باب الوتر والنوافل 2/5)
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband