DeFodi Images/Getty Images
The Morocco international is coming to the end of a two-year loan with the German side at the conclusion of the season.
Hakimi told Telefoot (h/t Goal's Sacha Pisani):
"Real Madrid are the club I call home. I've really enjoyed myself there and played lots of games there.
"If Madrid want me to go back, I'll go back. And if not, I'll have to write the next chapter at another great club.