Sunan Ibn Majah, Book 25, Hadith 3165 (In-Book)

It was narrated that Ibn ‘Abbas said: “The Messenger of Allah was never asked about someone who had done one thing before another, but he would gesture with both his hands to say: ‘There is no harm in that.’”

حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ أَيُّوبَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ مَا سُئِلَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ عَمَّنْ قَدَّمَ شَيْئًا قَبْلَ شَىْءٍ إِلاَّ يُلْقِي بِيَدَيْهِ كِلْتَيْهِمَا ‏ "‏ لاَ حَرَجَ ‏" ‏ ‏.‏

sunnah.com