Here's an article on how Trump came to Giuliani and asked how to implement a Muslim ban:

http://www.slate.com/blogs/the_slatest/2017/01/28/travelers_with_valid_visas_turned_away_at_airports_after_trump_order.html