OAKLAND -- Gambling, guns and a getaway.

Newly released court documents have revealed several details in a bizarre Pleasanton home invasion robbery that show how a group of East Bay men allegedly followed a gambler home before holding him and his wife at gunpoint to steal the man's winnings.

According to court documents, Jakari Bolden, 24, and Terrell Bailey, 25, both of Oakland, and Thomas Stokes, 30, of Hercules, were arrested on robbery charges Oct. 24 after SWAT operations at their homes. The fourth and final suspect, 20-year-old Myrick Rucker, was arrested Nov. 6 after a SWAT team descended on his Antioch home in the 5300 block of Rockrose Way.

All four men face felony home invasion robbery charges, and Bailey and Stokes were also charged with violating their probation from prior convictions.

On Aug. 26, Aejaz Ahmed told police he was gambling throughout the night at Casino 580, located in Livermore, where he won approximately $68,000. Ahmed said he cashed his winnings into bundles of $10,000 and unbundled $100 bills. He then took a taxi home, where he napped for a few hours before sorting out his winnings, according to court documents.

While he was at the casino, video surveillance showed Bailey and Stokes inside the business, eyeing Ahmed as he played cards. When Ahmed left the casino in a taxi with his cash winnings around 6:35 a.m. the day of the robbery, Bailey and Stokes allegedly followed him to his home on Roselma Place in Pleasanton.

Bailey, Stokes and Bolden communicated via their cellphones while Ahmed was being watched at the casino, court documents stated, and when Ahmed's wife, Mahira Samiullah, returned to their home after depositing a small sum of the winnings at the bank hours later, the three men cornered her in the garage.

"Where is he?" one of the men asked Samiullah.

Ahmed, hearing a commotion outside, opened the door to the garage, where the three men burst into the home, and at gunpoint demanded the husband and wife give them the casino winnings. In total, Stokes, Bailey and Bolden allegedly stole roughly $46,000 from the couple, per court documents.

Police said a phone that was dropped during the robbery, which they eventually learned belonged to Bolden, helped tie the men to the scene of the crime, thanks to call history and a ping at a cell phone tower on Kottinger Drive, just one mile from Ahmed's home.

Court records did not show how Rucker was involved in the robbery, and his tie to the crime was not immediately available.

The four are due in court 9 a.m. Friday.

Follow Katie Nelson at Twitter.com/katienelson210.