Play video content EXCLUSIVE

Stop. Drop. Your pants. TMZ has obtained footage of DMX at a Detroit hotel last weekend ... RUNNING NAKED LAPS AROUND THE HALLWAY ... just because he felt like it.

The footage begins with DMX walking around a hotel hallway in just his boxer shorts, socks and house arrest ankle bracelet ... while a hotel employee removes room service from one of the rooms on the floor.

All of the sudden, X ducks behind a corner with a mischievous grin on his face -- drops his shorts -- and launches into a full ass naked, dong-out sprint.

Eventually, X returns to the starting line and grabs his drawers ... and then casually walks back toward his room as if nothing ever happened. It's pretty hilarious.

We reached out to X ... who said he just "felt like" doing a nudie run that day ... adding, "Imnotashamedofanythingigot" (read: "I'm not ashamed of anything I got.").