Mason County Sheriff Kim C. Cole said deputies learned of the challenge early Saturday morning after responding to a "suspicious situation" at the Ludington Walmart store.
Cole said there they learned from store workers two young girls attempted to "camp" underneath a clothing rack. When discovered by the employees, the girls ran from the store.
"They had a makeshift fort with bedding down and blankets laid out," said Cole. "They were planning on sleeping in there."
Police found the two 10-year-old Ludington girls at around 8 a.m. walking about a mile from the store. Police had already located one of the girl's mothers thanks to a cellphone that girl left behind where she was hiding inside the store.
"When they called the mother, she had indicated she dropped the kids off there and it was one of these social media challenges," said Cole. "I just do not know what would inspire someone to leave their 10-year-old daughter inside a Walmart at 2 a.m."
When the mother arrived at the store to retrieve the phone, she was found to be in possession of heroin, cocaine and methamphetamine, according to Cole.
The 39-year-old Ludington woman is lodged in the Mason County Jail awaiting drug charges. Reports of the incident have been forwarded to the Mason County prosecutor to determine if she'll be charged for assisting the girls in the "24-hour overnight challenge."