Green’s Dictionary of Slang

five-knuckle shuffle n.

also five-finger shuffle

masturbation.

[UK]Roger’s Profanisaurus in Viz 87 Dec. n.p.: five knuckle shuffle euph. A one-handed work out to a Cindy Crawford exercise video.
Fat Dancer 🌐 Euphemisms Top 10: 10) One off the wrist. 9) Making baldie puke. 8) Jerkin the gherkin. 7) Yanking the doodle. 6) White water wristing. 5) Five finger shuffle.
[Ire]P. Howard PS, I Scored the Bridesmaids 207: Those five-knuckle shuffles that he’s been enjoying when the lights go out.

In phrases