What is the ruling for accepting compensation?
It is permissible to accept compensation, known as 'awad. There is no prohibition in this as long as the compensation is equal to or less than the compensated object.
Forgoing compensation or part of it, which is better, does not render taking it prohibited.
Allah the Almighty knows best.