In Next.js 13.5 and above the syntax has changed. The function properties object now comes second.
Before Next.js 13.5:
router.push("<new_url>", undefined, { scroll: false })
Next.js 13.5 and above:
router.push("<new_url>", { scroll: false })
Next.js Official docs: https://nextjs.org/docs/app/api-reference/functions/use-router#disabling-scroll-to-top