The Prophet (may Allah's peace and blessings be upon him) ordered his Companions (may Allah be pleased with him) that every two or three men should alternate riding one camel so that all of them would be equal. In other words, they would take turns in riding instead of having some of them ride while the others walk due to the shortage of camels.