Abu Huraira reported the Prophet as saying, “Do not treat the backs of your beasts as pulpits, for God most high has made them subject to you only to convey you to a town which you could not reach without difficulty; and He has appointed the earth for you, so conduct your business on it."
Buraida told that while God’s Messenger was walking a man who had an ass came to him and, moving to the back of the animal, invited him to mount, but he said, “No; you have more right to ride in front on your animal unless you grant that right to me." The man replied that he did, and so he mounted.
At the battle of Badr there was one camel to every three men of us. Abu Lubaba and ‘Ali b. Abu Talib were the travelling companions of God’s Messenger, and when his turn to dismount came they would offer to walk instead of him, but he would reply, “You are not stronger than I am, and I am not more able to dispense with the reward* than you are."
* i.e. the reward in the next world for walking part of the way.