Not free, no, but for a discount. I think what you're referring to might be Kindle Matchbook, which allows you to buy the ebook at a lower price if you've already purchased the print book new. Not all books qualify, you can check this link to see which ones do.
https://www.amazon.com/gp/digital/ep...=1&*entries*=0