"Nuwan Kulasekara has been a vital cog in the Lankan lineup and played exceptional cricket during his time with the national team."
Avishka Fernando hit a quick-fire half-century as Sri Lanka eased to a seven-wicket win over Bangladesh.
Bangladesh were found guilty of being two overs short of their target after time allowances were put into consideration.
The position of head coach remains vacant ever since BCB parted ways with Steve Rhodes in the aftermath of the World Cup.
Retiring Malinga claimed 3-38 while Nuwan Pradeep (3-51) and Dhananjaya de Silva (2-49) played their parts in the win.
"When we play against him we will not keep it in our head that it will be his last match and will try to play as hard as possible."
Sri Lankan players want to give the best farewell to the yorker specialist who has served his side for 15 years and finally wants to call it a day.
Shafiul last represented Bangladesh in an ODI in October 2016 against England.
Malinga will end his career as Sri Lanka's third-leading wicket-taker in ODIs after Muttiah Muralitharan and Chaminda Vaas.
Nida Dar's 43 took Sydney Thunder down to wire in a nerve-jangling affair
Ominous signs for Australia as Pakistan right on top in tour match
AB de Villiers pulls out of roster for PSL 5
'I hope my efforts will help in the Test series' - Imran Khan
Babar Azam, Asad Shafiq centuries headline dominant batting display by Pakistan
Silverwood admits Malan's heroics have thrown up a 'selection headache'
Racists need to ride waves of change, embrace fresh outlook - Archer
Mahmudullah: We can't make these mistakes again and again
Duminy ruled out of MSL 2019 due to hamstring injury
Shane Watson named president of Australia's Cricketers' Association