Mr Yousaf said he was “gobsmacked” when SNP offices were raided by police in 2023, shortly after he had succeeded Ms Sturgeon as party leader.