MOBILE ad hoc networks (MANETs) have attracted a lot of attention due to the popularity of mobile devices and the advances in wireless communication technologies. A MANET is a peer-to-peer multihop mobile wireless network that has neither a fixed infrastructure nor a central server. Each node in a MANET acts as a router, and communicates with each other. The mobility constraints of mobile nodes may lead to cause problem in link stability. On the other hand, in order to support node mobility, scalable routing strategies have been designed and these protocols try to consider the path duration in order to respect some QoS constraints and to reduce the route discovery procedures. Often energy saving and path duration and stability can be two contrasting efforts and trying to satisfy both of them can be very difficult. A scalable routing protocol called LAER, based on the joint metric of link stability and energy drain rate, has been proposed. It is based on the local topology knowledge and it makes use of a greedy technique based on a joint metric and a modified perimeter forwarding strategy for the recovery from local maximum. The main aim of this work is to propose an optimization routing model within a MANET. The model attempts to minimize simultaneously the energy consumption of the mobile nodes and maximize the link stability of the transmissions, when choosing paths for individual transmissions. The idea of considering, at the same time, energy consumption and link stability is motivated by the observation that most routing protocols tend to select shorter routes, in this way high efficiency in using wireless bandwidth and increase path stability are ensured. However, such routes may suffer from higher energy consumption, since higher transmission ranges are needed. We enhance our work to detect the selfish node present in the network, providing wrong information about their energy and recent data access details. Due to such wrong information we should reroute our packet delivery path. Such selfish nodes do not consume any energy such as CPU power, battery and also bandwidth for retransmitting the data of other nodes and they reserve them only for themselves. Every node in a MANET calculates credit risk information on other connected nodes individually to measure the degree of selfishness.