Protection of Refugees in Shariah and International Law

Do refugees have rights in international law? Who are the refugees in Islam? What are the rights of refugees according to the Shariah?