وَفِيهِ مَا دَلَّ عَلَى أَنَّ الْوِتْرَ لَيْسَتْ بِفَرِيضَةٍ، إِذِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَمْ يَكُنْ يُصَلِّي الْمَكْتُوبَةَ عَلَى رَاحِلَتِهِ فِي الْحَالَةِ الَّتِي كَانَ يُوتِرُ عَلَيْهَا
And in it is that which indicates that Witr is not obligatory, since the Prophet, peace and blessings be upon him, did not pray the prescribed prayers on his mount in the situation in which he would perform Witr upon it.
Sayyiduna Abdullah bin Umar (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) used to offer voluntary prayers and Witr on his mount, whichever direction it faced, but he (peace and blessings be upon him) did not offer obligatory prayers on his mount.
Explanation & Benefits
Shaykh Muhammad Farooq Rafi
Benefits:
➊ It is permissible to perform supererogatory prayers (nawafil) and Witr on a mount, but for the obligatory prayer it is necessary to dismount and perform it on the ground.
➋ Praying Witr is Sunnah, not obligatory (wajib), because the Prophet sallallahu alayhi wa sallam did not perform the obligatory prayer on his mount.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 1090