Shami took 5-18 to move to 45 wickets at World Cups, going past the mark of 44 set by Javagal Srinath and Zaheer Khan.
Fellow fast bowlers Jasprit Bumrah and Mohammed Siraj mopped up the rest of the Sri Lankan order who were routed for just 55 as India marched into the semi-finals.
"Not rocket science," said Shami, who now has 14 wickets in just three games at this World Cup, when asked for the secret of his success.
"It's just a matter of rhythm, good food, keep your mind uncluttered, and, most importantly, the love of the people.
"The support we get in India has a huge role. When you go out of India, you get so much support from Indians. So I will keep trying to make everyone happy."
Shami claimed 5-54 in the win over New Zealand and 4-22 in the victory against defending champions England but preferred to share the spotlight with Bumrah and Siraj.
"We put in the hard work, we have found the rhythm and it's because of that that you are getting to see this storm on the field," he said.
"I can't believe anyone will not enjoy it. We are enjoying ourselves a lot and working together as a unit, and you are able to see the results of that."
Elden Ring Nightreign Equilibrious Beast boss guide: How to beat Libra
Игра Cultivation Chat Group заняла топ-7 в китайском App Store
Началась предзагрузка Crystal of Atlan на PC и смартфонах
This underwater city builder had me more emotionally invested in my corals than SimCity does in my human citizens, and you can try it at the next Steam Next Fest
Люси Пылаева и гигантский Labubu: новый уровень модной иронии на RU.TV 2025
ОГРОМНЫЙ ПОЛИТИЧЕСКИЙ СКАНДАЛ: США И СССР ПОДГОТОВИЛИ СНОС...США. СЕНСАЦИЯ! Важные новости! В.В. Путин, Дональд Трамп, Илон Маск. Россия, США, Европа могут улучшить отношения и здоровье общества?!
Офтальмолог Шкатова назвала болезни глаз, которые «подкрадываются» незаметно
Жаркое, дождливое и опасное: какое лето ждет россиян
Архангельские гребцы завоевали две медали на первенстве России в Краснодаре
Город будущего — в твоих руках: жители Архангельской области выбирают, какие места благоустроят к 2026 году
Заместитель прокурора Архангельской области и Ненецкого автономного округа Павел Матанцев провел личный прием работников ГУП НАО «Нарьян-Марская электростанция»