All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu 'alyhi wa sallam, is His slave and Messenger.
It is permissible to engage is this deal, because it is a form of selling by installments. However, this is provided that the sale is conducted for one fixed duration and at one price; that is the buyer will buy the commodity for a definite price that is scheduled to be paid over five years. But if he delays the payment for up to ten years and is therefore charged another price, then this would be the forbidden Ribaa.
Allaah Knows best.