These chapters are related to the etiquettes of travelling.
The first chapter: When a person has been away from his family for a long time, he should not return to them at night. That is, he should not return to them at night except out of necessity or after informing them. For instance, he would experience great difficulty if he extends his journey till the morning. This is a necessity, so he should return to them that night and there is no problem. Also, if he had informed them earlier that he would return to them on a specific night, then there is no problem if he returns to them at night.
However, if his absence has been for a long period, then he should not return to them at night. The Prophet ﷺ gave the underlying reason for this as: 'So that she (the wife) would have combed the disheveled hair and shaved the pubic region.' That is, so that the woman may beautify herself for her returning husband. He should not return to find her ungroomed with unkempt pubic region. This is the reason for emphasizing prolonged journey. However, if the journey is not long, say a day or two, then there is no harm in returning to his family whenever he desires.
Summarily, whenever the absence is long, he should not return to his family at night except due to necessity or after prior information.
The second hadeeth shows that whenever a person returns from his journey, before other things, he should proceed to the mosque before entering his house. He should proceed straight to the mosque and perform two Rakats of optional prayer. This is because the Prophet ﷺ established this Sunnah for his Ummah through speech and action. He ﷺ would proceed straight to the mosque on returning from a
journey to perform two Rakats of optional prayer.
In addition, Jabir -may Allah be pleased with him and his father- once came to the Prophet ﷺ to collect the payment for his camel which he sold to him ﷺ. He ﷺ said to him: 'Have you entered the mosque to perform (optional) Salat?' He replied: 'No.' He ﷺ said: 'Enter the mosque and observe two Rakats.'
Unfortunately, most people are unconscious of this Sunnah nowadays due to ignorance or simply considering it as insignificant. It is necessary for one to revive this Sunnah: the first thing to do after returning from a journey is to enter the mosque and perform two Rakats of optional Prayer. Thereafter, he should proceed to his family.
Allah alone grants success.