Could you please explain whether the Witr prayer is considered Sunnah or Nafil.

The Witr is the last prayer of the day. It is offered in minimum of one rak’ah and a maximum of 11, but most people offer it in 3 rak’ahs, either together in one bout or separately in 2 and 1 rak’ah. Schools of Fiqh differ as to the classification of this prayer, but they agree that it is the most important non-obligatory prayer of the day. The Prophet, peace be upon him, used to pray it even when he traveled. It was his habit not to pray the Sunnah prayers when traveling with the exception of the two rak’ahs before dawn or Fajr prayer, and the Witr which follows Isha prayer. Therefore, it is the most confirmed of Sunnah prayers. During travel, however, he offered only one Rak’ah as Witr.

One school of Fiqh considers it as Wajib, which is a degree in between Sunnah, which is voluntary or recommended, and Fardh, which is obligatory. However, the Witr is certainly not obligatory.