Know that whatever property you may gain , one fifth belongs to God , the Messenger , the kindred , orphans , the needy and those who need money while on a journey . ( This is the law ) if you believe in God and what We revealed to Our Servant on the Day of Distinction ( Badr ) when the armies confronted each other .