Hello,
You could use this link Contact - Microsoft Support to help you recover a hacked Microsoft account.
Other reference article:
Microsoft Account hacked? Help is here! (thewindowsclub.com)
Determine whether Microsoft 365 account is compromised - Microsoft 365 | Microsoft Learn
Regards,
Karlie