I've just fixed this for a customer I had. Ended up being a hidden rule as many have suspected.
The fix for me was to add the compromised account to a full featured version of Outlook. I used Outlook (classic).
NOT the version of Outlook which is pre-installed.
Then run the following command in Run (WIN +R)
outlook /cleanrules
EDIT: First step should be to remove consent for Thunderbird and Microsoft Graph at the following link: https://microsoft.com/consent
Also, remove any email forwarding which shouldn't be there, reset passwords, add 2FA, remove any email forwarding which shouldn't be there.