Real Madrid have agreed a five-year sponsorship agreement with the Dubai-based airline Emirates, the world's richest club said on Friday.