Stabilize Bone with IK (while animated)

Hello,

how can i keep a bone stable at an animation so while its running the rotation of the joints should be updating like in the video (left hand keeps stable compared to the forearm):