The debate over whether Sora or Riku is stronger is a lively one, and the evidence leans toward Sora. Although some argue Riku is more "muscled," Sora has shown extraordinary feats—slicing through entire buildings during his fight with Xemnas, wielding powerful magic, and defeating formidable foes like Cloud, Tifa, Yuffie, Leon, and even Sephiroth singlehandedly, not to mention godlike opponents such as Hades and Chernabog. In anime, manga, and Japanese games, bigger muscles do not automatically win the day.
That said, others make a fair case for Riku. In Kingdom Hearts: Chain of Memories, Riku is faster, jumps higher, and dispatches enemies more easily. It is also noted that Riku could not beat Roxas without Ansem's help, and since Roxas is part of Sora and later merges with him, Sora arguably inherits Roxas's abilities too.
Weighing it all together, the most common conclusion is that Sora comes out on top—but the two are closer than fans sometimes admit.