Proposing a double-RIS assisted multihop routing scheme for device-to-device communication networks to enhance performance and reduce resource wastage.