SC hears Waqf petition