A man was beaten and threatened with knives in his Birmingham home before being forced by a drug addict and a prostitute to reveal the pin numbers for his bank cards.
The victim was then made to go with his attackers who used the cards to withdraw £600 from cash points, the city's Crown Court heard.
Zafar Iqbal, (36), of Benmore Avenue, Edgbaston, who admitted robbery, was jailed for three years.
Nicola Evans, ( 26), of Strentham Court, Balsall Heath, who also pleaded guilty, was ordered to carry an 80-hour community punishment order and was put on a community rehabilitation order for two years.
In passing sentence, Judge Pearce-Higgins said they had targeted their victim, a middle-aged man from Saltley, but said they were both "in the grip of a drugs habit".
Laura Kasasian, prosecuting, said Evans, who got into the victim's home after asking to use the toilet, asked him if he wanted sex.
He declined but then became aware that Iqbal had let himself in.
Miss Kasasian said the man told them both to leave but when he tried to use his mobile phone he was wrestled to the floor by Iqbal and punched in the face.
Both defendants then brandished knives at the victim who they then took to Aston University campus where the cash was withdrawn. Tim Green, for Iqbal, said the defendant, who had once been employed as a project worker helping disadvantaged children, had initially gone to the victim's home in the hope of borrowing money.