The Allahabad High Court will hear on Friday a petition filed by the Uttar Pradesh Sunni Waqf Board and the Gyanvapi masjid management committee that has challenged the maintainability of a suit pending before a Varanasi court, seeking the restoration of a temple at the site of the mosque.