I want to transfer midi data from synthesizer with midi out
What sort of synthesizer has MIDI out?
Do you in fact mean a keyboard?
Just look at examples of using the NRF24L01 for sending any data.
As the nano only has one serial port then you will have to use the software serial libiary to read the MIDI output and the hardware serial port, pins 0 & 1 for connection to the radio.