When did that happen? Based on that scar, it would have had to have been a real long time ago, longer than the current unknown time frame is........
I assume that it happened between Daryl’s first and second encounters with Dwight. It wasn’t shown on camera.
The first encounter was when Dwight was trying to escape from the Saviors with his wife and her sister. The burned face is his punishment for trying to escape.