Salim (may Allah have mercy on him) says that Sayyiduna Ibn Umar (may Allah be pleased with them both) used to perform the night prayer and witr while riding on his camel during travel, and he did not mind in which direction it was facing, and he mentioned this regarding the Prophet (peace and blessings be upon him).