Dhaka - Kagiso Rabada became only the second man in history to claim a hat-trick in one-day international cricket during the first ODI against Bangladesh in Dhaka on Friday.
Rabada bowled Tamim Iqbal in the third ball of his second over and then had Litton Das and Mahmudullah in the next two deliveries to complete the set, joining Bangladesh's Taijul Islam, who achieved the feat against Zimbabwe at the same ground last December.
The 20-year-old pacer later added three wickets to his tally to finish with 6-16, the best ever haul by a debutant, bettering the record of West Indies' Fidel Edwards, who claimed 6-22 against Zimbabwe in 2003.
Rabada is the first South African to bag six wickets on debut and only the second South African bowler to claim five wickets in his first one-day international match.
The other South African to achieve the feat is Allan Donald who took 5-29 against India at Kolkata in 1991.
Bangladesh scored 160 in 36.3 overs.
The scoreboard supplied by AP:Bangladesh
Tamim Iqbal b Rabada 0
Soumya Sarkar c Duminy b Rabada 27
Litton Das c Behardien b Rabada 0
Mahmudullah lbw b Rabada 0
Shakib Al Hasan lbw b Tahir 48
Mushfiqur Rahim c Tahir b Duminy 24
Sabbir Rahman b Morris 5
Nasir Hossain b Morris 31
Mashrafe Bin Mortaza c de Kock b Rabada 4
Jubair Hossain b Rabada 5
Mustafizur Rahman not out 0
Extras: (5lb, 10w, 1nb) 16
TOTAL: (all out) 160
Fall of wickets: 1-17, 2-17, 3-17, 4-40, 5-93, 6-104, 7-120, 8-133, 9-140, 10-160.
Bowling: Kyle Abbott 6-0-41-0 (5w), Kagiso Rabada 8-3-16-6 (3w), Chris Morris 6.3-0-32-2 (1w), Imran Tahir 8-1-38-1 (1w, 1nb), JP Duminy 8-0-28-1.
South Africa: Hashim Amla, Quinton de Kock, Faf Du Plessis, Rilee Rossouw, JP Duminy, David Miller, Farhan Behardien, Chris Morris, Kagiso Rabada, Kyle Abbott, Imran Tahir.
Umpires: Michael Gough, England, and Sharfuddoula, Bangladesh.
TV Umpire: Richard Illingworth, England. Match referee: David Boon, Australia.