فَرْقًا بَيْنَ الْفَرِيضَةِ وَالتَّطَوُّعِ فِي غَيْرِ الْمُسَابَقَةِ وَالْتِحَامِ الْقِتَالِ وَمُطَارَدَةِ الْعَدُوِّ
Due to the difference between obligatory and voluntary prayers, if at that time he is not engaged in a confrontation, fierce battle with the enemy, or attacking the enemy (because in these situations, it is permissible to perform even the obligatory prayer on a mount).
Sayyiduna Jabir (may Allah be pleased with him) narrates that we were with the Noble Prophet (peace and blessings be upon him) in a battle. He (peace be upon him) would perform voluntary prayers on his mount facing towards the east. Then, when he wished to perform the obligatory prayer, he would dismount and pray facing the Qiblah. Imam Abu Bakr (may Allah have mercy on him) says that Muhammad bin Thawban refers to Muhammad bin Abdur Rahman bin Thawban; his attribution is to his grandfather Thawban instead of his father.
Explanation & Benefits
Shaykh Muhammad Farooq Rafi
Benefits:
➊ Facing the qiblah is obligatory for the obligatory prayer.
However, when the qiblah cannot be determined, and in a state of fear, facing the qiblah is not a condition for the validity of the prayer.
Also, in the voluntary prayer facing the qiblah is not a condition; rather, it is permissible to pray in whatever direction the mount is facing.
➋ Performing voluntary prayers (nawafil) on a mount is permissible, but for the obligatory prayer it is necessary to dismount and stand on the ground.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 976