Abraham ordered to sacrifice Isaac
A man is commanded by his God to kill his only long-awaited son as a burnt offering, obeys silently, and is stopped at the last moment when a ram appears caught in a thicket as a substitute. The test is explicitly framed as proving whether he fears God, and the obedience, not the killing, is what is rewarded.