From the Trade dropdown menu, select P2P.
Press the Orders button.
Select All Orders from the navigation bar. For coins select All coins, for Order Type select Buy/Sell, for Status select All status, and for the Date range select the time period you want to export.
You will receive files in .csv format.
Navigate to Step 1. Import and open up a Binance import tab. Click on Upload File and drag your CSV file into the box to import your transactions.