Writing a will against the rules of the Qur’an in non-Islamic country
I wanted to ask about the permissibility of writing a will in the case where it may go against the rules in the quran. The situation i have in mind is that my Sister and her husband who have a one year old son, would like to write in their will that if anything were to happen to both of them then they want myself and my husband to look after him. This is because they feel that we would be best able to take care of their son and bring him up in an islamic way etc. We would be happy to do so in such a situation. Is this permissible?