In the Purchase Receipt, you can receive the Items in the Accepted or the Rejected Warehouse.
If you are creating Purchase Return for the items received in the Rejected Warehouse, then create return entry following these steps.
For detailed steps on how to create Purchase Return Entry for the Rejected Item, refer to the below example.