Romans 8:9-17 engages with a similar debate around a physical versus spiritual body as in 1 Cor 15:35-49.
I’ve also seen a similar debate in another text, specifically the Gospel of Thomas saying 29:
If the flesh came into being because of spirit, that is a marvel, but if spirit came into being because of the body, that is a marvel of marvels.
Yet I marvel at how this great wealth has come to dwell in this poverty.
And 87:
How miserable is the body that depends on a body, and how miserable is the soul that depends on these two.
Given the overlap here in discussions of physical body vs spirit, look at the overlap on what Paul says about being children with an inheritance:
For you did not receive a spirit of slavery to fall back into fear, but you received a spirit of adoption. When we cry, “Abba![l] Father!” it is that very Spirit bearing witness[m] with our spirit that we are children of God, and if children, then heirs: heirs of God and joint heirs with Christ, if we in fact suffer with him so that we may also be glorified with him.
Romans 8:15-17
Compared to in Thomas:
[…] When you know yourselves, then you will be known, and you will understand that you are children of the living Father. […]
Thomas 3
If they say to you, ‘Where have you come from?’ say to them, ‘We have come from the light, from the place where the light came into being by itself, established [itself], and appeared in their image.’
If they say to you, ‘Is it you?’ say, ‘We are its children, and we are the chosen of the living Father.’ […]
Thomas 50
The messengers and the prophets will come to you and give you what belongs to you. You, in turn, give them what you have, and say to yourselves, ‘When will they come and take what belongs to them?’
Thomas 88
In addition to the theme of inheritance in 88 is also the unique parable in 109 of the inherited but hidden treasure in the field accidentally sold off to a stranger to be lent back out at interest.
Most of my attention to the overlap between Thomas and Paul has been on the Corinthian letters, where not only does he regularly also refer to them being like children (even telling them to put their childish ways behind them in 1 Cor 13:11), but there’s research on both an Epicurean character to the opponents (paralleled in Thomas 29 and 87 among others) and a proto-Gnostic character to the letters as a whole:
Syzmik, The Corinthian Opponents of the Resurrection in 1 Cor 15:12 (2020)
Klutz, Re-Reading 1 Corinthians after Rethinking ‘Gnosticism’ (2003)