Amber alert issued after mother has disagreement with her ex-husband and accuses him of kidnapping their daughter when it was his time to pick her up from school.

No charges will be laid against the father of a five-year-old girl who was the subject of an Amber Alert on Tuesday, but was found safe in Markham, Ont., according to York Regional Police.

Soloman Jaffri, 25, has been released from custody, police said Wednesday.

The alert was issued after Jaffri signed his daughter out of her classroom at Armadale Public School in Markham, some 30 kilometres from downtown Toronto, at approximately 2 p.m. ET, after the mother called police and said she was concerned.

Police initially said Jaffri was not supposed to have access to the girl, but the school didn’t appear to be aware of that. In an interview, however, Jaffri said no such order exists, and he frequently picks her up and participates in school events.

On Wednesday afternoon, York police Const. Andy Pattenden confirmed there are no court orders barring him from having custody of his daughter.

Jaffri said he and his wife went through an acrimonious separation about 10 days ago, but they remain married. He said he had told his wife in a text message that he intended to pick up their daughter a bit early from school to take her out for lunch with her grandfather, who was visiting from Windsor.

He added he had no idea what his wife may have told police, or why she was concerned for their daughter’s safety.

While Pattenden said he could not confirm any specific details, he said investigators had good reason to believe the child could be in danger.

“I can tell you there was a definite concern yesterday for that child’s safety,” he explained.

“Often in cases like this, it is one side of the story that we have that we are working with.”