How to navigate to next page after a delay of 3 seconds after clicking trigger

I have two pages P1 and P2. I want to create a prototype such that when I click on a button present on P1, after a delay of 3 seconds it navigates to P2 instantly?