A ride to the pharmacy with friends took a disastrous turn for a Los Altos woman Thursday, when the friends stole her prescription drugs, threw her dog out the window and then pushed her out of a moving car, police said.

The 50-year-old woman had met with a couple in East Palo Alto at about 8 p.m. Thursday, Mountain View police spokeswoman Liz Wylie said.

“They’d been friends for years,” Wylie added.

The couple gave the woman a ride to Walgreens on Grant Road in Mountain View, where she picked up a prescription for oxycodone, Wylie said. When the group left the pharmacy, they headed westbound on El Camino Real and then northbound on San Antonio Road.

“While they were driving, the suspects demanded the oxycodone from the victim,” Wylie said. “She said no, she needs it. “… They continued to demand it.”

The wife was in the front passenger seat as her husband drove. She reached back, stole $160 from the Los Altos woman’s purse, took the bottle of about 90 oxycodone pills, and punched her three times in the face, Wylie said.

When the woman tried to call for help, the husband reached back and took her cellphone as well, Wylie said.

While the car was stopped at a stoplight on San Antonio Road, the wife reached back and threw the victim’s small dog out the window, Wylie said. The victim then opened the car door and tried to get out, but the man accelerated quickly so she couldn’t leave. Then, he slowed down and shoved the woman out on San Antonio Road near Nita Avenue.

Wylie said the car was moving slowly, but she didn’t know its exact speed.

The woman had three bumps on her head but declined medical attention. A passer-by had grabbed the dog, which was uninjured, and brought it to her.

Police know who the suspects are and were looking for them on Friday, Wylie said. Police were not releasing their identities, she said.

Email Diana Samuels at dsamuels@dailynewsgroup.com.