The Supreme Court has been directed that university hostels be checked at night to prevent incidents of ragging in hostels, Higher Education State Minister Suren Raghavan said.