The ruling by Judge Ann Donnelly of the U.S. District Court for the Eastern District of New York came during a hearing called after President Donald Trump issued an executive order blocking people from seven Muslim-majority from entering the United States and putting a temporary halt to refugee admissions.