Woman in shadow
The woman was allegedly sexually assaulted by Abdulahi Omar Mohammed in April 2015 after having alcoholic drinks and some cannabis - Representational image Getty

A woman was told by a man to take contraceptive pills a day after she was sexually attacked by the same man, an Australian court has heard.

The intoxicated woman was taken to a home and sexually abused by two men in April 2015. She had drunk four shots of tequila and a can of pre-mixed vodka, and smoked some cannabis with Abdulahi Omar Mohammed and Ibrahim Sulejmanovic, court documents stated.

"She was sexually assaulted by Mohammed and raped by Sulejmanovic," crown prosecutor Jennifer O'Brief told the Brisbane District Court jury as she opened her case on Monday (7 August).

The court also heard that after the alleged assault, the men had put the woman in a taxi and she was driven to her ex-boyfriend's home.

The next morning she received a text message from Sulejmanovic, saying: "Hi ya, I think we both got a little bit out of control last night and last I remember was walking you to the taxi, hope you got home safe," the accused rapist texted, the court heard.

"Also since we were both highly intoxicated I think it's best for you to take the morning-after pill, just to be safe."

O'Brief also said before the court that before the attack, the woman was lying in a park with Sulejmanovic. But the crown prosecutor said that the woman did not remember how she went there.

"At the park Sulejmanovic was lying down next to her, he was kissing her; she was pulling down her dress because he was pulling it up."

The woman has said that she wanted to leave the place, but she only remembered being driven in a car, sickening with her head between her legs, the Australian Associated Press reported.