Rules Guy: Do I have to replace my ball in my playing partner’s fresh divot?

A golf ball in a divot on the sixteenth fairway during the Second Round of the Abu Dhabi HSBC Championship at Yas Links Golf Course on January 21, 2022 in Abu Dhabi, United Arab Emirates.

What do the rules say about replacing a ball in a fresh divot after marking for a partner?

Getty Images