Sayyiduna Habib bin Maslamah (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him), at the beginning of jihad, after taking out the khums, used to give one-fourth as a gift, and after returning from jihad, one-third.