You can send a polite message like this:
---
Hi [Name],
I hope you're doing well! I noticed a number saved on my phone, but I’m not sure who it belongs to. Could you please remind me? Thanks so much!
Best,
[Your Name]
---
Feel free to adjust it based on your relationship with the person!