A Bangladesh court Thursday sentenced the eldest son of the main opposition leader to seven years in prison for money laundering, a prosecutor said.