He kept on doing that till Allah caused him to be killed at Badr.
موفق بالله او را زندانی نمود و سپس او را کشت.