Hadithcore
Hadith #2115540

Ahmad and Abu Dawud transmitted a similar hadith on the authority of Abu Sa’id, and they added the extra statement, “Go back and ask for their permission. If they permit you to go, then go for Jihad otherwise, be good to them (look after them).

وَلِأَحْمَدَ, وَأَبِي دَاوُدَ: مِنْ حَدِيثِ أَبِي سَعِيدٍ نَحْوُهُ, وَزَادَ: {

اِرْجِعْ فَاسْتَأْذِنْهُمَا, فَإِنْ أَذِنَا لَكَ; وَإِلَّا فَبِرَّهُمَا

} [1]‏ .‏

References2 variants
Sunnah.com reference
Book 11, Hadith 5
Arabic/English book reference
Book 11, Hadith 1302