Top right on the call screen is a circled lowercase i symbol. When you tap the symbol, you should see a contact card which is blank except for the phone number. That card also contains buttons for creating a contact, sending a message, etc.
(At least this is how it works in iOS 18. I haven't tried iOS 26 yet.)