Network coding is introduced as a technique to improve performance in communication networks. In network coding, intermediate nodes mix packets to enhance network performance. To increase throughput, several approaches have been proposed based on network coding. Many approaches use delay in sending packets to increase throughput. These approaches are not suitable for delay sensitive applications. To solve this problem, some methods make a tradeoff between delay and throughput. In this paper, unlike other approaches, network coding is used to reduce end-to-end delay in wireless networks. In our proposed approach, packets do not receive more delay and the priority of the selected packets for coding is based on their end-to-end delay. The packet that tolerates more delay has higher priority for coding with forwarding packet. Simulation results illustrate that using network coding compared with other approaches can reduce end-to-end delay.