Is a conditional offer involving payment for both hitting and missing the target valid?

General Chapter

Al-Mughni

Book of Racing and Archery

Book 58 · Issue 2 · Bab 1

Open in Qurani

Primary text

If a person says, 'If you hit the target, you will have one dirham, and if you miss, you owe one dirham,' the contract is invalid because it constitutes gambling (Qimar).