It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) used to offer voluntary prayers while riding, even though he would be heading in a direction other than the Qiblah.