lost license after clean install.

Hi all !!!
Just clean install big sur on my old mac before selling it to my friend. Just buy brand new Macbook Pro
with M1 chip. Can't find my license in my e-mail as suggested. Any idea how to recover it and ?

Thanks a lot !

Pace