The Supreme Court on Monday directed authorities to remove a mosque from the premises of the Allahabad High Court within three months, telling the petitioners opposing the demolition that the structure stood on a terminated lease property and they can't claim it as a matter of right to continue.