"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.
Six players test negative in coronavirus retests; Pakistan announce 20-member squad
Shadab Khan, Haider Ali and Haris Rauf test positive for coronavirus
PCB conducts COVID-19 tests of five reserve players
Ross Taylor open to a possible PSL stint in the future
Seven additional Pakistan players test positive for coronavirus
Six players eligible to join Pakistan squad after second negative test in three days
'Plans underway to stage remaining PSL matches this year' - PCB
Second group of Pakistan cricketers to leave for England on Friday
Hafeez tests negative for coronavirus a day after being declared positive by PCB
Pakistan squad in England test negative for coronavirus