
We can pass record id to Visualforce page in Salesforce Lightning Record Page, using Standard Controller in the Visualforce page.
Sample Code:
<apex:page standardController="Account">
Account Record Id is {!Account.Id}
</apex:page>
Output:

We can easily get record Id in a Visualforce page used in Lightning Record Page using Standard Controller.