If he belonged to a people with whom ye have treaty of Mutual alliance , compensation should be paid to his family , and a believing slave be freed . For those who find this beyond their means , ( is prescribed ) a fast for two months running : by way of repentance to Allah : for Allah hath all knowledge and all wisdom .