This option can be configured with the SharePoint Admin Center | Sharing | Guests must sign in using the same account to which sharing invitations are sent checkbox, as shown at the bottom of the preceding screenshot. Selecting this checkbox prevents users that sharing invitations are forwarded to from signing in and accessing the link.