If it has to be a compact then I’d recommend something from the Panasonic TZ range. I’ve had one for years (can’t recall which, my daughter uses it now) and it’s got a usefully long zoom range and fits in the pocket. I don’t particularly rate the image quality compared to an SLR / mirrorless (small sensor, etc), but if your friend isn’t as fussy as us photographers on here then I’m sure they’ll find it ideal.
Can’t recommend a specific model from the range as there’s been loads over the years so probably the newest model they can get for the budget.