It is the first verdict in a series of legal proceedings against Bashir, who is also facing charges relating to the killing of protesters during the uprising against his authoritarian rule earlier this year.
Before he was sentenced, supporters of the ex-president briefly disrupted the proceedings and were pushed out of the courtroom by security forces.
Bashir was charged earlier this year with money laundering, after millions of US dollars, euros and Sudanese pounds were seized in his home shortly after he was ousted.
He said the crown prince did not deposit the money in the country’s central bank as he did not want to be revealed as the source of the funds, and claimed the money was used for donations.
At least $2 million dollars went to a military hospital and $3 million to a Sudanese university, he said.
Bashir said $5 million was given to the Rapid Support Forces, a paramilitary unit that grew out of the feared Janjaweed militias unleashed during the Darfur conflict in the 2000s.
The verdict in the corruption trial came a year after Sudanese protesters first began their revolt against Bashir’s authoritarian rule.
Anti-government demonstrations initially erupted last December over steep price rises and shortages but soon shifted to calls for Bashir to step down.
Security forces responded with a fierce crackdown that killed dozens of protesters in the months before he was forced out.
The 75-year-old has been in custody since April, when Sudan’s military removed him from power and entered into a power-sharing agreement with civilians.
The verdict could be appealed before a higher court.
Join our new commenting forum
Join thought-provoking conversations, follow other Independent readers and see their replies