The Palestinian Claim to Jerusalem

We have heard for the last 50 years that the Palestinians demand part of Jerusalem, they claim a historical and religious right to the city, but is this claim correct? Are there historical and religious writings that support this?