Abdullah ibn Khatal used to be a Muslim. The Prophet once sent him to collect zakah from people who lived far away. He traveled with another man and a servant of his who was a Muslim. At one stage on the way they stopped. He gave the servant orders to slaughter a big goat and prepare food for him while he himself went to sleep. When he woke up, he discovered that the servant had not done anything. He killed his servant and, fearing the Prophet’s punishment, reverted to idolatry. He also had two slave girls who used to sing for him and for his companions songs full of abuse of the Prophet. The Prophet’s instructions specified that the two slave girls should also be killed. The man was killed as he was actually holding on to the coverings of the Kaaba. Abu Barzah Al-Aslami and Saeed ibn Hurayth Al-Makhzumi killed him along with one of his slave girls. The other managed to flee until someone sought a special pardon for her from the Prophet, which he granted.
What's a slave girl worth anyway?
And in Judaism, holding on to the altar provides sanctuary (see I Kings 1:51 and Adoniah)