What are the types of fasting?
Fasting is classified into groups according to their rulings. These are: the ones that are fard to fast, fasting that is mandub, fasting that is makruh and fasting that is haram.
Source: Fiqh1 (According To The Shafi’i School Of Islamic Law), Erkam Publications