Police nabbed a creep who groped a sleeping woman on an N train in Queens early Friday, authorities said.

The man, identified as Abdul Alim, 26, was spotted walking between subway cars on the northbound train before he sat down next to the woman, 27, around 3:30 a.m. at the Queensboro Plaza stop, cops said.

Alim allegedly put his hands in and on the victim’s jacket pockets and then grabbed her breast, police said.

Cops on patrol quickly apprehended Alim, who told the officers, “I was just looking for company and intimacy,” police said.

Alim was charged with felony sex abuse, forcible touching, jostling, and violation of local law.