Stephen Flynn has suggested that Rishi Sunak "has taken his honesty lessons from Boris Johnson" during Prime Minister's Questions on Wednesday.
The SNP Westminster leader had a go at Sunak's economic policies as inflation stayed at 8.7 per cent in May.
He then asked if Brexit was part of the problem.
MPs voted to take away former PM Johnson's parliamentary pass earlier this week after the privileges committee ruled that he had misled parliament over partygate. Sunak did not vote.
Flynn said: “In February, the Prime Minister told this here House that borrowing costs are back to where they should be, in March he boasted we are on track to halve inflation by the end of the year, and in May he then said economic optimism is increasing.
“Given the dire economic reality of today, is it not now clear that he has taken his honesty lessons from Boris Johnson?
Sunak replied: “He also failed to mention that not just the Bank of England, not just the OBR, not just the OECD, but also the IMF, all of them have upgraded their growth outlook for the United Kingdom economy this year.
“Whilst he and others were predicting this country would enter a recession, the actions of this Government have meant that we have so far averted that and we continue to be on track to keep reducing inflation because that is the right economic priority.”
Commons Speaker Lindsay Hoyle warned Flynn to be a “little bit more cautious” and not imply Sunak was misleading MPs.
Flynn then asked Sunak if Brexit was contributing to the country's economic problems.
He said: "Listening to the Prime Minister's answer I don't think he quite grasps the economic situation facing that doesn't need to be like this. It didn't need to be like this. Because mortgage deals in Ireland, they're not sitting in excess of six per cent, they're around about four and a half percent.
"Inflation in the Euro area, that's not sitting at 8.7 per cent, it's sitting at closer to six per cent. For all those seven years after their EU referendum, will he finally admit that it was Brexit that broke it?"
Sunak replied: "Again, I don't think the honourable gentleman was paying attention earlier. Interest rates in this country are at similar levels too. They are in America in Canada, in Australia and in New Zealand.
"The rise in inflation and interest rates is a global phenomenon. But that's why early I set out that it was the right economic priority to have to bring inflation down. That's what this government would do. But that requires difficult and responsible decisions. That's what leadership looks like. I don't think the SNP will ever do the same thing."
To sign up to the Daily Record Politics newsletter, click here .