Manchester Crown Court heard that the victim has a mental health condition and lives in sheltered housing in south Manchester.
Early on the morning of September 7 last year, Ahmed approached her in the street and began to talk to her, asking where she was going, where she lived and who she lived with.
Ahmed was a complete stranger to the woman, who had no interest in him. But he gripped hold of her arm and asked if she would invite him to her home.
She said ‘no’, but he followed her to her house and went in with her.
Prosecutor Brian Berlyne said: “This was a vulnerable woman, a woman lacking in self-confidence, she was intimidated.
"Once they were in the flat, she was very tense, realising that this man was a complete stranger, an unwelcome presence in her home, no doubt worried what might happen next, and not knowing what to do.”
The woman said she had to go out, prompting Ahmed to demand she buy him cigarettes. When she returned to the flat she found him with his trousers down performing a sex act.
She pleaded with him to leave, even leaving the flat and alerting a neighbour, who called police. But when she returned to her flat Ahmed was still there. He coerced her into a massage, began to make lewd remarks, groped her and raped her.
Sentencing him, Judge Robert Atherton paid tribute to the way the woman gave evidence, despite being left ‘considerably disturbed’ by what Ahmed put her through.
“That distress and upset will take time before it can be resolved”, the judge added. “This is a case in which there’s no element of physical coercion, but the mental coercion was extreme.”