There seem to be contradictory statements within this document.
2. Palestine, which extends from the River Jordan in the east to the Mediterranean in the west and from Ras al-Naqurah in the north to Umm al-Rashrash in the south, is an integral territorial unit. It is the land and the home of the Palestinian people. The expulsion and banishment of the Palestinian people from their land and the establishment of the Zionist entity therein do not annul the right of the Palestinian people to their entire land and do not entrench any rights therein for the usurping Zionist entity.
20. Hamas believes that no part of the land of Palestine shall be compromised or conceded, irrespective of the causes, the circumstances and the pressures and no matter how long the occupation lasts. Hamas rejects any alternative to the full and complete liberation of Palestine, from the river to the sea. However, without compromising its rejection of the Zionist entity and without relinquishing any Palestinian rights, Hamas considers the establishment of a fully sovereign and independent Palestinian state, with Jerusalem as its capital along the lines of the 4th of June 1967, with the return of the refugees and the displaced to their homes from which they were expelled, to be a formula of national consensus.
It doesn't strike me as the basis for a lasting peace.