A 6-year-old girl who was kidnapped outside of her Houston, Texas home was rescued after she asked for help in a store bathroom.

Authorities say 23-year-old Joaquin Ramos abducted Kelly Tellez while her mother was unloading groceries, then took her to Target because he had to use the restroom. He told her to go use the bathroom as well. Once inside the restroom, she asked a woman for help.

Police Question Neighbors in Case of Missing 6-Year-Old Arizona Girl

Ramos fled before police arrived, authorities say.

He was later located at an area hospital, where his wife had just given birth.

Man Admits to Kidnapping 7-Year-Old, Claims He Has Special Abilities

Kelly was not harmed, and the motive for the kidnapping remains unclear.