President signs into law bill recognising Muslim marriages