Open your bank statement and click on 'transaction details' or 'narration'. It will display the details of a specific transaction, where you can find its reference number.