Setup a Customer named "Unknown Customer" and reconcile these funds to your Accounts Receivable account.
Later, when you identify the actual Customer, you can update the Journal Item (only the AR part needs to be updated):
If this happens frequently enough you may want to create a reconcilation model to make things more efficient: