When to move custom domain in M365 T2T migration?

I'm doing a ODM Tenant to Tenant migration. Tenant A is migrating to Tenant B. Tenant A has a custom (vanity) domain that needs to be moved to Tenant B once the migration is completed. What is the best way to do this? I have T3 subscription. Thanks!