A bench of Justices Vijay Kumar Shukla and Alok Awasthi set aside the order that had allowed Muslims to offer prayers at the site.