There are multiple refugee stories in the heritage of many religions and cultures. From Passover to the Hijra to US Thanksgiving to so many other examples, it's likely that most people have a refugee story.
One of my favorites is from my own religious tradition, in the Book of Mormon. There are a number of refugee stories in the Book of Mormon, but I'm writing here about the people of Ammon.
The people of Ammon were a group of people was being targeted because they had converted to another religion. They had also taken a vow of non-violence as part of their conversion. A small faction in their homeland incited war against the people of Ammon and many were being killed. They had to leave.
But the only place to go was to the Nephites, the people they had warred with before their conversion. The Nephites didn't much like the people of Ammon's ethnic group, calling them lazy and filthy. And the people of Ammon had killed many Nephites before they took their vow of non-violence. The people of Ammon were not at all sure it was wise to go to the Nephites, but Ammon (their new religious leader who was a Nephite and the son of a former Nephite king) convinced them to seek refuge with the Nephites.
So the people of Ammon picked up as a group and went to the border of the Nephite land. Ammon, who had prayed about all of this, went to the chief judge and asked if the people of Ammon would be admitted.
And here's the part I like best. The Nephites voted (no idea if women were allowed to vote, but I'm assuming not) and agreed to take in the people of Ammon. But not only did the Nephites give them a place to live, they also agreed to protect them so they wouldn't break their vow of non-violence, in exchange for a tax to help support the Nephite army.
So you have one group of people welcoming refugees who not only were from an ethnic group they hated and fought with, but they agreed to give them a place to live and provided military protection because they would no longer fight themselves. Good stuff. And I hope my pronouns didn't get too confusing.