The judge or his designee may authorize the temporary custody of a child taken into custody for a period of not longer than forty-eight (48) hours, excluding Saturdays, Sundays, and statutory state holidays if the judge or his designee finds there are grounds to issue a custody order as defined in Section 43-21-301 and such custody order complies with the detention requirements provided in Section 43-21-301(6).
Miss. Code § 43-21-307