It wasnarrated that Ibn 'Abbas said:
"The Messenger of Allah (ﷺ)wasnever asked about someone who had done one thing before another,buthe would gesture with both his hands to say: 'There is no harm inthat.'" (ES)
English reference (ES): Vol. 4, Book 25, Hadith 3049 (ES)
Arabic reference (ES): Book 25, Hadith 3165 (ES)