I'm a parent47 of 47

Who greets first

The younger person greets the older, the one walking greets the one sitting, and the smaller group greets the larger.

The hadith

وَقَالَ إِبْرَاهِيمُ عَنْ مُوسَى بْنِ عُقْبَةَ، عَنْ صَفْوَانَ بْنِ سُلَيْمٍ، عَنْ عَطَاءِ بْنِ يَسَارٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ يُسَلِّمُ الصَّغِيرُ عَلَى الْكَبِيرِ، وَالْمَارُّ عَلَى الْقَاعِدِ، وَالْقَلِيلُ عَلَى الْكَثِيرِ ‏"‏‏.‏

Narrated Abu Huraira:

Allah's Apostle said, "The younger person should greet the older one, and the walking person should greet the sitting one, and the small number of persons should greet the large number of persons."