A Jordanian man was charged on Sunday with premeditated murder after allegedly stabbing to death his 22-year-old daughter because she became pregnant outside wedlock, police said.

"The father and his brother took the girl on Saturday to a doctor because she suffered stomach pains, and everybody was surprised to learn that she was six months pregnant," a police spokesman said.

"On their way home, the father stabbed the girl with a sword 25 times in her stomach, killing her immediately as well as her unborn baby boy."

The source said the suspect had confessed to the crime, which took place in the Jordan Valley.

"His brother was also charged with premeditated murder, while the victim's boyfriend is being held in custody for his own protection," he added.