"Am personally touched by Nawaz Sharif Sahab's gesture of welcoming me at Lahore airport and coming to the airport when I left," Modi said in a tweet after returning to New Delhi.
He also termed as "very touching" Sharif's affection towards BJP veteran and former Prime Minister Atal Bihari Vajpayee.
"He (Sharif) recalled their interactions & asked me to convey his regards to Atal ji," Modi said in another tweet.
Modi, who sprang a surprise by making a sudden stopover in Lahore on his return to New Delhi from Kabul, said he had a spent a warm evening with the Sharif family at their family home.
"Nawaz Sahab's birthday & granddaughter's marriage made it a double celebration," he added.