The short answer is, you cannot.
You want to implement the reset password function, not the password search function. The whole point of password hashing is that you cannot store a user's password, and you cannot recover it if it is lost.
This should give you a general idea of how to allow users to reset forgotten passwords:
source
share