بسم الله الرحمن الرحيم
(Fatwa: 1109/859/D=10/1434)
The qadha of all those fasts shall be wajib during which he masturbated in the state of fast. It is not lawful to pay fidyah; rather it is necessary to keep fast.
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband
