A Brisbane Uber driver who questioned how a lesbian passenger had sex has been fined $300 and avoided conviction.

Umar Subi Gammeda was initially charged with deprivation of liberty after allegedly detaining the customer for more than an hour in August 2017.

Umar Subi Gammeda leaves Brisbane Magistrates Court, on Friday.

But prosecutors withdrew that charge on Friday morning due to lack of evidence.