Rabat - A man accused of raping a 3-year-old girl in Casablanca was sentenced to only two months in prison.